schroot: fix build with cmake 4
This commit is contained in:
12
pkgs/by-name/sc/schroot/bump-cmake-minimum.patch
Normal file
12
pkgs/by-name/sc/schroot/bump-cmake-minimum.patch
Normal 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)
|
||||
|
||||
@@ -49,6 +49,7 @@ stdenv.mkDerivation {
|
||||
./no-default-config.patch
|
||||
./fix-absolute-paths.patch
|
||||
./fix-boost-includes.patch
|
||||
./bump-cmake-minimum.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user