diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2020-12-22 14:47:04 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2020-12-23 13:55:45 (GMT) |
commit | 72e7c45e984c006c12a4cb8159d3fa3784c02212 (patch) | |
tree | 823979fc5f29db333606abcc17a1cfd6b4f1b311 /Tests/ExternalProject | |
parent | 440531e0f9abba65839e2e242367c6091cc4789c (diff) | |
download | CMake-72e7c45e984c006c12a4cb8159d3fa3784c02212.zip CMake-72e7c45e984c006c12a4cb8159d3fa3784c02212.tar.gz CMake-72e7c45e984c006c12a4cb8159d3fa3784c02212.tar.bz2 |
Tests: Bump CMake minimum required in tests to 2.8.12
Since 3.19, CMake generates a deprecation warning when using a minimum
version less than 2.8.12. This eliminates those warnings generated
during tests, which are typically hidden from the user and developer but
are being generated nonetheless.
Diffstat (limited to 'Tests/ExternalProject')
-rw-r--r-- | Tests/ExternalProject/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/ExternalProject/Example/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt index 29cdcc9..a1130dc 100644 --- a/Tests/ExternalProject/CMakeLists.txt +++ b/Tests/ExternalProject/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8.12) project(ExternalProjectTest NONE) if(CMAKE_XCODE_BUILD_SYSTEM VERSION_GREATER_EQUAL 12) cmake_policy(SET CMP0114 NEW) diff --git a/Tests/ExternalProject/Example/CMakeLists.txt b/Tests/ExternalProject/Example/CMakeLists.txt index 4c12895..c3f2614 100644 --- a/Tests/ExternalProject/Example/CMakeLists.txt +++ b/Tests/ExternalProject/Example/CMakeLists.txt @@ -1,5 +1,5 @@ # This is the canonical simplest ExternalProject example CMakeLists.txt file: -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 2.8.12) project(ExternalProjectExample NONE) include(ExternalProject) |