Skip to content

Commit 27eb9f4

Browse files
committed
[core] Add missing gmock dependencies.
Explicitly list GTest::gmock in core.
1 parent 465cf05 commit 27eb9f4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

core/foundation/test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ROOT_ADD_GTEST(testMake_unique testMake_unique.cxx LIBRARIES Core)
88
ROOT_ADD_GTEST(testTypeTraits testTypeTraits.cxx LIBRARIES Core)
99
ROOT_ADD_GTEST(testNotFn testNotFn.cxx LIBRARIES Core)
1010
ROOT_ADD_GTEST(testClassEdit testClassEdit.cxx LIBRARIES Core)
11-
ROOT_ADD_GTEST(testException testException.cxx LIBRARIES Core)
11+
ROOT_ADD_GTEST(testException testException.cxx LIBRARIES Core GTest::gmock)
1212
ROOT_ADD_GTEST(testLogger testLogger.cxx LIBRARIES Core)
1313
ROOT_ADD_GTEST(testRRangeCast testRRangeCast.cxx LIBRARIES Core)
1414
ROOT_ADD_GTEST(testStringUtils testStringUtils.cxx LIBRARIES Core)

core/metacling/test/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ROOT_ADD_GTEST(
2626

2727
LIBRARIES
2828
Core
29+
GTest::gmock
2930
)
3031

3132
add_dependencies(TClingTest Cling RIO)

0 commit comments

Comments
 (0)