1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: Santiago Vila <sanvila@debian.org>
Subject: Fix build with CMake 4
Bug-Debian: https://bugs.debian.org/1113432
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
-cmake_minimum_required(VERSION 3.4.3)
+cmake_minimum_required(VERSION 3.5)
project(pybind11_json)
set(PYBIND11_JSON_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -6,7 +6,7 @@
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
-cmake_minimum_required(VERSION 3.4.3)
+cmake_minimum_required(VERSION 3.5)
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
project(pybind11_json-test)
--- a/test/copyGTest.cmake.in
+++ b/test/copyGTest.cmake.in
@@ -6,7 +6,7 @@
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
-cmake_minimum_required(VERSION 2.8.2)
+cmake_minimum_required(VERSION 3.5)
project(googletest-download NONE)
--- a/test/downloadGTest.cmake.in
+++ b/test/downloadGTest.cmake.in
@@ -6,7 +6,7 @@
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
-cmake_minimum_required(VERSION 2.8.2)
+cmake_minimum_required(VERSION 3.5)
project(googletest-download NONE)
|