Skip to content

Commit

Permalink
Remove target_link_directories
Browse files Browse the repository at this point in the history
  • Loading branch information
kboyarinov committed Aug 28, 2024
1 parent 504eaa1 commit b44b1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ macro(onedpl_construct_exec test_source_file _test_name switch_off_checked_itera
if ("${_test_name}" STREQUAL selected_different_device.pass AND _ONEDPL_PSTL_OFFLOAD MATCHES "(cpu|gpu)")
set_tests_properties(${_test_name} PROPERTIES ENVIRONMENT "${DEVICE_SELECTION_VARIABLE}=${ONEDPL_DEVICE_BACKEND}:${_ONEDPL_PSTL_OFFLOAD}")
endif()
target_link_directories(${_test_name} PRIVATE "${PROJECT_BINARY_DIR}/src")
# target_link_directories(${_test_name} PRIVATE "${PROJECT_BINARY_DIR}/src")
elseif (DEFINED DEVICE_SELECTION_LINE)
file(GLOB_RECURSE DS_TESTS "parallel_api/dynamic_selection/*.cpp")
if (NOT "${DS_TESTS}" MATCHES "${_test_name}") # do not set SYCL_DEVICE_FILTER for dynamic selection tests
Expand Down

0 comments on commit b44b1e8

Please sign in to comment.