Skip to content

Commit a47a4fe

Browse files
committed
[SYCL] fix build of unittests after LLVM commit a52173a
1 parent 4b92aab commit a47a4fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/cmake/modules/AddSYCLUnitTest.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ macro(add_sycl_unittest_with_device test_dirname link_variant)
9191

9292
if ("${link_variant}" MATCHES "OBJECT")
9393
add_sycl_executable(${test_dirname}
94-
OPTIONS -nolibsycl ${COMMON_OPTS} ${LLVM_PTHREAD_LIB}
94+
OPTIONS -nolibsycl ${COMMON_OPTS} ${LLVM_PTHREAD_LIB} ${TERMINFO_LIB}
9595
SOURCES ${ARGN} $<TARGET_OBJECTS:${sycl_obj_target}>
96-
LIBRARIES gtest_main gtest LLVMSupport LLVMTestingSupport OpenCL ${EXTRA_LIBS} ${TERMINFO_LIBS}
96+
LIBRARIES gtest_main gtest LLVMSupport LLVMTestingSupport OpenCL ${EXTRA_LIBS}
9797
DEPENDANTS SYCLUnitTests)
9898
else()
9999
# TODO support shared library case.

0 commit comments

Comments
 (0)