diff --git a/Detector/GeoSvc/CMakeLists.txt b/Detector/GeoSvc/CMakeLists.txt index 2a5b97ded1389cd0a45a5f41ba8d5c562580a031..c4b767e60920da0c3420d5a84afe58ddbf68ae2c 100644 --- a/Detector/GeoSvc/CMakeLists.txt +++ b/Detector/GeoSvc/CMakeLists.txt @@ -11,9 +11,9 @@ gaudi_depends_on_subdirs( Detector/DetInterface ) - find_package(ROOT COMPONENTS MathCore GenVector Geom Tree) find_package(DD4hep COMPONENTS DDG4 DDRec REQUIRED) +find_package(GEAR REQUIRED) gaudi_add_module(GeoSvc src/GeoSvc.cpp @@ -26,5 +26,6 @@ gaudi_add_module(GeoSvc DD4hep ${DD4hep_COMPONENT_LIBRARIES} GaudiKernel + $ENV{GEAR}/lib/libgear.so # ROOT -) \ No newline at end of file +)