From 983544bea8fbd0989164449028da93c36a9d23e8 Mon Sep 17 00:00:00 2001 From: Bohdan Dudar Date: Thu, 20 Nov 2025 17:24:34 +0100 Subject: [PATCH 1/2] Boost minimal cmake version and quick fix CMP0033 policy --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 588b27b..1b412e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ ######################################################## # cmake file for building CED # @author Jan Engels, Desy IT -CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR) +CMAKE_MINIMUM_REQUIRED(VERSION 3.20 FATAL_ERROR) ######################################################## @@ -147,5 +147,5 @@ DISPLAY_STD_VARIABLES() # generate and install following configuration files -GENERATE_PACKAGE_CONFIGURATION_FILES( CEDConfig.cmake CEDConfigVersion.cmake CEDLibDeps.cmake ) +GENERATE_PACKAGE_CONFIGURATION_FILES( CEDConfig.cmake CEDConfigVersion.cmake ) From b9a6ff26338a777997b8ffe00a9be712e9bd4220 Mon Sep 17 00:00:00 2001 From: Bohdan Dudar Date: Thu, 20 Nov 2025 17:37:28 +0100 Subject: [PATCH 2/2] Clean up cmake files --- cmake/CEDConfig.cmake.in | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmake/CEDConfig.cmake.in b/cmake/CEDConfig.cmake.in index 1993aa5..94910ee 100644 --- a/cmake/CEDConfig.cmake.in +++ b/cmake/CEDConfig.cmake.in @@ -50,15 +50,6 @@ INCLUDE( "@ILCSOFT_CMAKE_MODULES_ROOT@/MacroCheckPackageLibs.cmake" ) CHECK_PACKAGE_LIBS( CED CED ) - - -# ---------- libraries dependencies ------------------------------------------- -# this sets CED_${COMPONENT}_LIB_DEPENDS variables -INCLUDE( "${CED_ROOT}/lib/cmake/CEDLibDeps.cmake" ) - - - - # ---------- final checking --------------------------------------------------- INCLUDE( FindPackageHandleStandardArgs ) # set CED_FOUND to TRUE if all listed variables are TRUE and not empty