schroot: fix build with cmake 4 (#451412)

This commit is contained in:
Jo
2025-10-14 15:12:38 +00:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,8 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-cmake_minimum_required(VERSION 2.8.12)
-cmake_policy(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.10)
project(schroot)

View File

@@ -49,6 +49,7 @@ stdenv.mkDerivation {
./no-default-config.patch
./fix-absolute-paths.patch
./fix-boost-includes.patch
./bump-cmake-minimum.patch
];
nativeBuildInputs = [