diff --git a/src/ConceptDetectors/topside/CMakeLists.txt b/src/ConceptDetectors/topside/CMakeLists.txt index 2eb89cf4611c5196bb272512a7a83be2b2ebe947..febaccfb6e7c7245bc60b445b7f3b5f63bc17169 100644 --- a/src/ConceptDetectors/topside/CMakeLists.txt +++ b/src/ConceptDetectors/topside/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.3 FATAL_ERROR) #set(CMAKE_PREFIX_PATH $ENV{HOME}/lib CMAKE_PREFIX_PATH) #find_package(Acts REQUIRED COMPONENTS Core IdentificationPlugin TGeoPlugin DD4hepPlugin PATHS /home/whit/lib/cmake NO_DEFAULT_PATH) -find_package(Acts REQUIRED COMPONENTS Core IdentificationPlugin TGeoPlugin DD4hepPlugin ) +find_package(Acts REQUIRED COMPONENTS Core PluginIdentification PluginTGeo PluginDD4hep ) #----------------------------------------------------------------------------------- set(a_lib_name topside) @@ -15,7 +15,7 @@ dd4hep_configure_output() # ) dd4hep_add_plugin(${a_lib_name} SOURCES src/*.cpp - USES ActsCore ActsDD4hepPlugin + USES ActsCore ActsPluginDD4hep ) target_link_libraries(${a_lib_name} PUBLIC DD4hep::DDCore DD4hep::DDRec diff --git a/src/GenericDetectors/CMakeLists.txt b/src/GenericDetectors/CMakeLists.txt index 7838bc9fbdbab8b821c39c58c866f08942b37792..497cd357d79d65bf880502728c406457b8ebedb2 100644 --- a/src/GenericDetectors/CMakeLists.txt +++ b/src/GenericDetectors/CMakeLists.txt @@ -12,7 +12,7 @@ dd4hep_configure_output() #set(CMAKE_PREFIX_PATH $ENV{HOME}/lib CMAKE_PREFIX_PATH) #find_package(Acts REQUIRED COMPONENTS Core IdentificationPlugin TGeoPlugin DD4hepPlugin PATHS /home/whit/lib/cmake NO_DEFAULT_PATH) -find_package(Acts REQUIRED COMPONENTS Core IdentificationPlugin TGeoPlugin DD4hepPlugin ) +find_package(Acts REQUIRED COMPONENTS Core PluginIdentification PluginTGeo PluginDD4hep ) add_subdirectory(pid/sdet) @@ -58,7 +58,7 @@ dd4hep_add_plugin(GenDetectors pid/src/HexagonalScintPreShower_geo.cpp pid/src/ThresholdGasCherenkov_geo.cpp pid/src/HeavyGasCherenkov_geo.cpp - USES ActsCore ActsDD4hepPlugin + USES ActsCore ActsPluginDD4hep NOINSTALL ) @@ -66,8 +66,8 @@ target_link_libraries(GenDetectors #PUBLIC DDG4_PIDsdet PUBLIC DD4hep::DDCore DD4hep::DDRec PUBLIC ActsCore - PUBLIC ActsDD4hepPlugin - PUBLIC ActsTGeoPlugin + PUBLIC ActsPluginDD4hep + PUBLIC ActsPluginTGeo ) #target_include_directories(GenDetectors # PUBLIC beamline/include