Skip to content

Commit 283614a

Browse files
committed
fix testimt
1 parent ea57b89 commit 283614a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/thread/test/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
# For the licensing terms see $ROOTSYS/LICENSE.
55
# For the list of contributors see $ROOTSYS/README/CREDITS.
66

7-
ROOT_ADD_GTEST(testRWLock testRWLock.cxx LIBRARIES Core Thread Hist TBB::tbb)
7+
ROOT_ADD_GTEST(testRWLock testRWLock.cxx LIBRARIES Core Thread Hist)
8+
if(imt)
9+
target_link_libraries(testRWLock PRIVATE TBB::tbb)
10+
endif()
811

912
ROOT_ADD_GTEST(testTThreadedObject testTThreadedObject.cxx LIBRARIES Hist)
1013

0 commit comments

Comments
 (0)