From 61f4a219c8ee05450f2082f32d1442d387bfda1a Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Wed, 13 Dec 2023 17:13:33 +0100 Subject: [PATCH] Move DD4hep up in CMakeLists, remove Boost (#54) --- CMakeLists.txt | 24 ++---------------------- src/k4clue/CMakeLists.txt | 2 -- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d0527b..bb3c9d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,31 +38,11 @@ if(NOT CMAKE_CXX_STANDARD MATCHES "17|20") message(FATAL_ERROR "Unsupported C++ standard: ${CMAKE_CXX_STANDARD}") endif() -find_package(Boost REQUIRED) -if(Boost_FOUND) - message(STATUS "Boost package found!") -endif() - -find_package(EDM4HEP) -if(EDM4HEP_FOUND) - message(STATUS "EDM4HEP package found!") -endif() -find_package(DD4hep) -if(DD4HEP_FOUND) - message(STATUS "DD4HEP package found!") -endif() +find_package(DD4hep REQUIRED) +find_package(EDM4HEP REQUIRED) find_package(k4FWCore REQUIRED) -if(k4FWCore_FOUND) - message(STATUS "k4FWCore package found!") -endif() find_package(Gaudi REQUIRED) -if(Gaudi_FOUND) - message(STATUS "Gaudi package found!") -endif() - -#gaudi_install(PYTHON) -#gaudi_install(SCRIPTS) include(CTest) diff --git a/src/k4clue/CMakeLists.txt b/src/k4clue/CMakeLists.txt index 21fc6f3..349c780 100644 --- a/src/k4clue/CMakeLists.txt +++ b/src/k4clue/CMakeLists.txt @@ -18,8 +18,6 @@ limitations under the License. ]] # CLUE as Gaudi algorithm -find_package(k4FWCore) -find_package(EDM4HEP) gaudi_add_module(ClueGaudiAlgorithmWrapper SOURCES