We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea57b89 commit 283614aCopy full SHA for 283614a
core/thread/test/CMakeLists.txt
@@ -4,7 +4,10 @@
4
# For the licensing terms see $ROOTSYS/LICENSE.
5
# For the list of contributors see $ROOTSYS/README/CREDITS.
6
7
-ROOT_ADD_GTEST(testRWLock testRWLock.cxx LIBRARIES Core Thread Hist TBB::tbb)
+ROOT_ADD_GTEST(testRWLock testRWLock.cxx LIBRARIES Core Thread Hist)
8
+if(imt)
9
+ target_link_libraries(testRWLock PRIVATE TBB::tbb)
10
+endif()
11
12
ROOT_ADD_GTEST(testTThreadedObject testTThreadedObject.cxx LIBRARIES Hist)
13
0 commit comments