Skip to content

Commit d21a000

Browse files
authored
Boost minimal cmake version and quick fix CMP0033 policy (#21)
* Boost minimal cmake version and quick fix CMP0033 policy * Clean up cmake files
1 parent 5796193 commit d21a000

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
########################################################
22
# cmake file for building CED
33
# @author Jan Engels, Desy IT
4-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
4+
CMAKE_MINIMUM_REQUIRED(VERSION 3.20 FATAL_ERROR)
55
########################################################
66

77

@@ -147,5 +147,5 @@ DISPLAY_STD_VARIABLES()
147147

148148

149149
# generate and install following configuration files
150-
GENERATE_PACKAGE_CONFIGURATION_FILES( CEDConfig.cmake CEDConfigVersion.cmake CEDLibDeps.cmake )
150+
GENERATE_PACKAGE_CONFIGURATION_FILES( CEDConfig.cmake CEDConfigVersion.cmake )
151151

cmake/CEDConfig.cmake.in

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ INCLUDE( "@ILCSOFT_CMAKE_MODULES_ROOT@/MacroCheckPackageLibs.cmake" )
5050
CHECK_PACKAGE_LIBS( CED CED )
5151

5252

53-
54-
55-
# ---------- libraries dependencies -------------------------------------------
56-
# this sets CED_${COMPONENT}_LIB_DEPENDS variables
57-
INCLUDE( "${CED_ROOT}/lib/cmake/CEDLibDeps.cmake" )
58-
59-
60-
61-
6253
# ---------- final checking ---------------------------------------------------
6354
INCLUDE( FindPackageHandleStandardArgs )
6455
# set CED_FOUND to TRUE if all listed variables are TRUE and not empty

0 commit comments

Comments
 (0)