Skip to content

Commit 82fee6d

Browse files
committed
[roottest] Add missing ROOT library dependencies
We should now rely on all ROOT libraries being linked implicitly via other mechanisms, like `find_package(ROOT)`.
1 parent 4ea1a92 commit 82fee6d

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

roottest/root/dataframe/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ ROOTTEST_ADD_TEST(test_callables
181181

182182
ROOTTEST_GENERATE_EXECUTABLE(testIMT
183183
testIMT.cxx
184-
LIBRARIES ${DFLIBRARIES}
184+
LIBRARIES ${DFLIBRARIES} GenVector
185185
FIXTURES_SETUP root-dataframe-testIMT-fixture)
186186

187187
ROOTTEST_ADD_TEST(testIMT
@@ -217,7 +217,7 @@ ROOTTEST_ADD_TEST(typeguessing
217217

218218
ROOTTEST_GENERATE_EXECUTABLE(misc
219219
test_misc.cxx
220-
LIBRARIES ${DFLIBRARIES}
220+
LIBRARIES ${DFLIBRARIES} GenVector
221221
FIXTURES_SETUP root-dataframe-misc-fixture)
222222

223223
ROOTTEST_ADD_TEST(misc

roottest/root/io/datamodelevolution/cms-00/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,30 @@ ROOTTEST_GENERATE_DICTIONARY(libDataModelV1_dictcint
2020
DataModelV1.h
2121
LINKDEF DataModelV1LinkDef.h
2222
NO_ROOTMAP NO_CXXMODULE
23+
LIBRARIES Smatrix
2324
FIXTURES_SETUP root-io-datamodelevolution-cms-00-libDataModelV1_dictcint-fixture)
2425

2526
ROOTTEST_GENERATE_REFLEX_DICTIONARY(libDataModelV1_dictrflx
2627
DataModelV1.h
2728
SELECTION DataModelV1_selection.xml
2829
LIBNAME libDataModelV1_dictrflx
2930
NO_ROOTMAP
31+
LIBRARIES Smatrix
3032
FIXTURES_SETUP root-io-datamodelevolution-cms-00-libDataModelV1_dictrflx-fixture)
3133

3234
ROOTTEST_GENERATE_DICTIONARY(libDataModelV2_dictcint
3335
DataModelV2.h
3436
LINKDEF DataModelV2LinkDef.h
3537
NO_ROOTMAP NO_CXXMODULE
38+
LIBRARIES Smatrix
3639
FIXTURES_SETUP root-io-datamodelevolution-cms-00-libDataModelV2_dictcint-fixture)
3740

3841
ROOTTEST_GENERATE_REFLEX_DICTIONARY(libDataModelV2_dictrflx
3942
DataModelV2.h
4043
SELECTION DataModelV2_selection.xml
4144
LIBNAME libDataModelV2_dictrflx
4245
NO_ROOTMAP
46+
LIBRARIES Smatrix
4347
FIXTURES_SETUP root-io-datamodelevolution-cms-00-libDataModelV2_dictrflx-fixture)
4448

4549
ROOTTEST_COMPILE_MACRO(test1.cxx

roottest/root/meta/fwdDecls/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ROOTTEST_GENERATE_REFLEX_DICTIONARY(fwdDeclarations
1111
fwdDeclarations.h
1212
SELECTION fwdDeclarations_selection.xml
1313
NO_ROOTMAP
14+
LIBRARIES GenVector
1415
FIXTURES_SETUP root-meta-fwdDecls-fwdDeclarations-fixture)
1516

1617
ROOTTEST_ADD_TEST(fwdDeclarations

roottest/root/meta/tclass/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ ROOTTEST_GENERATE_DICTIONARY(libInitOrderDups
115115
InitOrderDups.h
116116
LINKDEF InitOrderDupsLinkDef.h
117117
NO_ROOTMAP NO_CXXMODULE
118+
LIBRARIES GenVector
118119
FIXTURES_SETUP root-meta-tclass-libInitOrderDups-fixture)
119120

120121
ROOTTEST_GENERATE_DICTIONARY(libInitOrder

roottest/root/multicore/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif()
2424

2525
ROOTTEST_GENERATE_EXECUTABLE(testSetAddress
2626
testSetAddress.cpp
27-
LIBRARIES Core MathCore RIO Tree
27+
LIBRARIES Core MathCore RIO Tree GenVector
2828
FIXTURES_SETUP root-multicore-testSetAddress-fixture)
2929

3030
if(MSVC)

0 commit comments

Comments
 (0)