Correct shared tests

create mock_gmm target if not exists

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-12-08 18:04:16 +01:00
committed by Compute-Runtime-Automation
parent 988e8667ce
commit 9183a9b638
2 changed files with 7 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ if(NOT SKIP_UNIT_TESTS)
append_sources_from_properties(CORE_ENABLERS NEO_CORE_SRCS_LINK)
if(NOT TARGET mock_gmm AND SKIP_NEO_UNIT_TESTS)
add_subdirectory(${NEO_SOURCE_DIR}/opencl/test/unit_test/mock_gmm ${CMAKE_BINARY_DIR}/mock_gmm)
endif()
add_executable(${TARGET_NAME}
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/main.cpp