Unverified Commit d424a266 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

schroot: fix build with cmake 4 (#451412)

parents 933980e2 a0540c39
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
--- 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)
 
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ stdenv.mkDerivation {
    ./no-default-config.patch
    ./fix-absolute-paths.patch
    ./fix-boost-includes.patch
    ./bump-cmake-minimum.patch
  ];

  nativeBuildInputs = [