We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500a0b8 commit b74ec89Copy full SHA for b74ec89
sycl/cmake/modules/AddSYCLUnitTest.cmake
@@ -91,9 +91,9 @@ macro(add_sycl_unittest_with_device test_dirname link_variant)
91
92
if ("${link_variant}" MATCHES "OBJECT")
93
add_sycl_executable(${test_dirname}
94
- OPTIONS -nolibsycl ${COMMON_OPTS} ${LLVM_PTHREAD_LIB} ${TERMINFO_LIB}
+ OPTIONS -nolibsycl ${COMMON_OPTS} ${LLVM_PTHREAD_LIB}
95
SOURCES ${ARGN} $<TARGET_OBJECTS:${sycl_obj_target}>
96
- LIBRARIES gtest_main gtest LLVMSupport LLVMTestingSupport OpenCL ${EXTRA_LIBS}
+ LIBRARIES gtest_main gtest LLVMSupport LLVMTestingSupport OpenCL ${EXTRA_LIBS} ${TERMINFO_LIBS}
97
DEPENDANTS SYCLUnitTests)
98
else()
99
# TODO support shared library case.
0 commit comments