aboutsummaryrefslogtreecommitdiff
path: root/cpack
diff options
context:
space:
mode:
Diffstat (limited to 'cpack')
-rw-r--r--cpack/fakeroot_fix.cmake2
-rw-r--r--cpack/setup.cmake2
2 files changed, 1 insertions, 3 deletions
diff --git a/cpack/fakeroot_fix.cmake b/cpack/fakeroot_fix.cmake
index 1c1430d..e34baa0 100644
--- a/cpack/fakeroot_fix.cmake
+++ b/cpack/fakeroot_fix.cmake
@@ -7,7 +7,7 @@
# script does is simply finding and deleting all directories that do not match
# the installation prefix before CPack generates the package.
-cmake_minimum_required(VERSION 3.20)
+cmake_minimum_required(VERSION 3.21)
set(_prefix ${CPACK_TEMPORARY_INSTALL_DIRECTORY}${CPACK_PACKAGING_INSTALL_PREFIX})
diff --git a/cpack/setup.cmake b/cpack/setup.cmake
index 13da515..eaf16f2 100644
--- a/cpack/setup.cmake
+++ b/cpack/setup.cmake
@@ -2,8 +2,6 @@
# rules to bundle the GCC toolchain and CMake in packages. It is included by
# the main CMakeLists.txt script.
-cmake_minimum_required(VERSION 3.20)
-
## Settings
# These can be set from the command line to completely disable bundling CMake