mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Cleanup cross component dependencies
dont link opencl lib to non-opencl targets link compute_runtime_mockable_extra only to l0 targets reuse include paths and definitions from neo_shared lib Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
71ed3eba16
commit
260997ccd1
@@ -70,15 +70,13 @@ target_include_directories(
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/test_configuration/unit_tests
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
target_link_libraries(${TARGET_NAME} pthread rt)
|
||||
else()
|
||||
if(WIN32)
|
||||
target_link_libraries(${TARGET_NAME} dbghelp)
|
||||
add_dependencies(${TARGET_NAME} mock_gdi)
|
||||
endif()
|
||||
|
||||
target_link_libraries(
|
||||
${TARGET_NAME} ${NEO_STATICALLY_LINKED_LIBRARIES_MOCKABLE}
|
||||
${TARGET_NAME} ${NEO_SHARED_MOCKABLE_LIB_NAME}
|
||||
compute_runtime_mockable_extra ${HW_LIBS_ULT} gmock-gtest
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user