cmake: Fix cmake_minimum_required to 3.24 (#4692)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
# This file is just an orchestration
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
# Enable output of compile commands during generation.
|
||||
|
||||
@@ -88,7 +88,7 @@ CMake as a standalone project or incorporate it into an existing CMake project.
|
||||
## Requirement
|
||||
You'll need:
|
||||
|
||||
* `CMake >= 3.18`.
|
||||
* `CMake >= 3.24`.
|
||||
* A C++20 compiler (GCC 10 or above)
|
||||
|
||||
## Solvers supported
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# We are using FetchContent OVERRIDE_FIND_PACKAGE introduced in 3.24
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
|
||||
# ##############################################################################
|
||||
# SWIG (WIN32)
|
||||
# ##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user