mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
dependencies cleanup
move gmock/gtest to third party Change-Id: I96b43a3de2b6f2151659a9b2eed27eb58db5ce48 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
@@ -50,12 +50,10 @@ add_executable(cloc_tests ${IGDRCL_SRCS_offline_compiler_tests})
|
||||
|
||||
target_include_directories(cloc_tests PRIVATE
|
||||
$<TARGET_PROPERTY:cloc,INCLUDE_DIRECTORIES>
|
||||
${GTEST_INCLUDE_DIR}
|
||||
${GMOCK_INCLUDE_DIR}
|
||||
)
|
||||
target_compile_definitions(cloc_tests PUBLIC MOCKABLE_VIRTUAL=virtual $<TARGET_PROPERTY:cloc,INTERFACE_COMPILE_DEFINITIONS>)
|
||||
|
||||
target_link_libraries(cloc_tests igdrcl_mocks gtest elflib)
|
||||
target_link_libraries(cloc_tests igdrcl_mocks gmock-gtest elflib)
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(cloc_tests dl pthread)
|
||||
|
||||
Reference in New Issue
Block a user