Skip to content

Commit 39f03b1

Browse files
committed
Merge branch 'release/4.01.01'
2 parents 6b4bcb1 + 5051d18 commit 39f03b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+55
-46
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set(cetmodules_MIN_CMAKE_VERSION 3.24)
2525

2626
# Required to keep CMake happy.
2727
cmake_minimum_required(
28-
VERSION ${cetmodules_MIN_CMAKE_VERSION}...3.31 FATAL_ERROR
28+
VERSION ${cetmodules_MIN_CMAKE_VERSION}...4.1 FATAL_ERROR
2929
)
3030

3131
# Bootstrap finding our own modules.

Modules/BasicPlugin.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Module defining commands to facilitate the building of plugins:
1515
# Avoid unnecessary repeat inclusion.
1616
include_guard()
1717

18-
cmake_minimum_required(VERSION 3.18.2...3.31 FATAL_ERROR)
18+
cmake_minimum_required(VERSION 3.18.2...4.1 FATAL_ERROR)
1919

2020
include(CetCMakeUtils)
2121
include(CetMakeLibrary)
@@ -639,7 +639,7 @@ function(cet_write_plugin_builder TYPE BASE DEST_SUBDIR)
639639
"${${CETMODULES_CURRENT_PROJECT_NAME}_BINARY_DIR}/${DEST_SUBDIR}/${TYPE}.cmake"
640640
"\
641641
include_guard()
642-
cmake_minimum_required(VERSION 3.18...3.31 FATAL_ERROR)
642+
cmake_minimum_required(VERSION 3.18...4.1 FATAL_ERROR)
643643
644644
${extra_includes}include(BasicPlugin)
645645

Modules/BuildDictionary.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ BuildDictionary
1919

2020
include_guard()
2121

22-
cmake_minimum_required(VERSION 3.19...3.31 FATAL_ERROR)
22+
cmake_minimum_required(VERSION 3.19...4.1 FATAL_ERROR)
2323

2424
include(CetCMakeUtils)
2525
include(CetCopy)

Modules/CetCMakeConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Module defining the lazy functions:
1919
# Avoid unnecessary repeat inclusion.
2020
include_guard()
2121

22-
cmake_minimum_required(VERSION 3.19.6...3.31 FATAL_ERROR)
22+
cmake_minimum_required(VERSION 3.19.6...4.1 FATAL_ERROR)
2323

2424
include(CMakePackageConfigHelpers)
2525
include(CetCMakeUtils)

Modules/CetCMakeEnv.cmake

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ the current project.
1010
# Avoid unnecessary repeat inclusion.
1111
include_guard()
1212

13-
cmake_minimum_required(VERSION 3.19...3.27 FATAL_ERROR)
13+
cmake_minimum_required(VERSION 3.19...4.1 FATAL_ERROR)
1414

1515
# Escape characters for literal use in regular expressions.
1616
include(CetRegexEscape)
@@ -45,7 +45,15 @@ if(NOT CMAKE_INSTALL_LIBDIR)
4545
endif()
4646

4747
# See https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html.
48+
#
49+
# We suppress developer warnings for this `include()` to silence
50+
# complaints from CMake >=4 when no `LANGUAGES` are enabled for this
51+
# project.
52+
set(_cce_suppress_dev_warnings "$CACHE{CMAKE_SUPPRESS_DEVELOP_WARNINGS}")
53+
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS ON CACHE INTERNAL "" FORCE)
4854
include(GNUInstallDirs)
55+
set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS "${_cce_suppress_dev_warnings}" CACHE INTERNAL "" FORCE)
56+
unset(_cce_suppress_dev_warnings)
4957
# ##############################################################################
5058

5159
define_property(

Modules/CetCMakeUtils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ General functions and macros.
88

99
include_guard()
1010

11-
cmake_minimum_required(VERSION 3.20...3.31 FATAL_ERROR)
11+
cmake_minimum_required(VERSION 3.20...4.1 FATAL_ERROR)
1212

1313
include(CetRegexEscape)
1414
include(CetRegisterExportSet)

Modules/CetCmdWrapper.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Variables affecting Behavior
3333
deleted upon non-zero exit from the command.
3434
3535
#]================================================================]
36-
cmake_minimum_required(VERSION 3.20...3.31 FATAL_ERROR)
36+
cmake_minimum_required(VERSION 3.20...4.1 FATAL_ERROR)
3737

3838
if(NOT CMD)
3939
message(FATAL_ERROR "vacuous command")

Modules/CetCopy.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ to a destination directory as part of the build.
1010
# Avoid unnecessary repeat inclusion.
1111
include_guard()
1212

13-
cmake_minimum_required(VERSION 3.18.2...3.31 FATAL_ERROR)
13+
cmake_minimum_required(VERSION 3.18.2...4.1 FATAL_ERROR)
1414

1515
include(CetPackagePath)
1616

Modules/CetFindPkgConfigPackage.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Define the function :command:`cet_find_pkg_config_package` for use in
88
#]================================================================]
99
include_guard()
1010

11-
cmake_minimum_required(VERSION 2.8.12...3.31 FATAL_ERROR)
11+
cmake_minimum_required(VERSION 3.5...4.1 FATAL_ERROR)
1212

1313
include(FindPackageHandleStandardArgs)
1414

Modules/CetGenerateSphinxDocs.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CetGenerateSphinxDocs
44
#]================================================================]
55
include_guard()
66

7-
cmake_minimum_required(VERSION 3.20...3.31 FATAL_ERROR)
7+
cmake_minimum_required(VERSION 3.20...4.1 FATAL_ERROR)
88

99
set(_CGSD_VDATA_VERSION 1)
1010

0 commit comments

Comments
 (0)