cmake: Bump CMake minimum required version up to 3.16

This commit is contained in:
Hennadii Stepanov
2024-07-01 22:46:05 +01:00
parent a5269373fa
commit 9420eece24
4 changed files with 4 additions and 11 deletions

View File

@@ -1,11 +1,4 @@
cmake_minimum_required(VERSION 3.13)
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.15)
# MSVC runtime library flags are selected by the CMAKE_MSVC_RUNTIME_LIBRARY abstraction.
cmake_policy(SET CMP0091 NEW)
# MSVC warning flags are not in CMAKE_<LANG>_FLAGS by default.
cmake_policy(SET CMP0092 NEW)
endif()
cmake_minimum_required(VERSION 3.16)
project(libsecp256k1
# The package (a.k.a. release) version is based on semantic versioning 2.0.0 of