Merge pull request #9372 from jordan-woyak/cmake-version-warnings

CMake: Update cmake_minimum_required calls using versions less than 2.8.12.
This commit is contained in:
Léo Lam 2020-12-28 12:20:46 +01:00 committed by GitHub
commit e509353eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.12)
project(enet)

View File

@ -50,7 +50,7 @@ else()
cmake_policy(SET CMP0048 NEW)
project(gtest VERSION 1.9.0 LANGUAGES CXX C)
endif()
cmake_minimum_required(VERSION 2.6.4)
cmake_minimum_required(VERSION 2.8.12)
if (POLICY CMP0063) # Visibility
cmake_policy(SET CMP0063 NEW)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.12)
project("mbed TLS" C)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.12)
project(miniupnpc C)
set(MINIUPNPC_VERSION 1.9)

View File

@ -1,6 +1,6 @@
project(pugixml)
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.12)
option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF)