CMake: Update cmake_minimum_required calls using versions less than 2.8.12. CMake warns support will be removed in a future version.

This commit is contained in:
Jordan Woyak 2020-12-27 11:56:33 -06:00
parent 4705af59c6
commit 1699afff87
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)