Skip to content

Commit acc94a6

Browse files
authored
Fix TestRWLock compilation with external TBB
1 parent f4346b9 commit acc94a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/thread/test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
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_LIBRARIES})
7+
ROOT_ADD_GTEST(testRWLock testRWLock.cxx LIBRARIES Core Thread Hist ${TBB_LIBRARIES} INCLUDE_DIRS ${TBB_INCLUDE_DIRS})
8+
set_target_properties(testRWLock PROPERTIES COMPILE_FLAGS "${TBB_CXXFLAGS}")
89

910
ROOT_ADD_GTEST(testTThreadedObject testTThreadedObject.cxx LIBRARIES Hist)
1011

0 commit comments

Comments
 (0)