diff options
author | Brad King <brad.king@kitware.com> | 2020-06-11 10:34:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-18 13:52:05 (GMT) |
commit | 9b99b4bfc8e9280c7334047cf95a84408d84e931 (patch) | |
tree | 90d745ed35cef6c494abf6acd54770997b77d916 /Tests/RunCMake/try_compile | |
parent | fcea4a3b452c5126d826610f73fb669c2e600726 (diff) | |
download | CMake-9b99b4bfc8e9280c7334047cf95a84408d84e931.zip CMake-9b99b4bfc8e9280c7334047cf95a84408d84e931.tar.gz CMake-9b99b4bfc8e9280c7334047cf95a84408d84e931.tar.bz2 |
Tests/RunCMake: Update cmake_minimum_required versions
Use 3.3 or 2.8.12 where possible.
Diffstat (limited to 'Tests/RunCMake/try_compile')
-rw-r--r-- | Tests/RunCMake/try_compile/CMP0056.cmake | 1 | ||||
-rw-r--r-- | Tests/RunCMake/try_compile/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/try_compile/proj/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Tests/RunCMake/try_compile/CMP0056.cmake b/Tests/RunCMake/try_compile/CMP0056.cmake index e8d3d4a..2ab79d5 100644 --- a/Tests/RunCMake/try_compile/CMP0056.cmake +++ b/Tests/RunCMake/try_compile/CMP0056.cmake @@ -1,3 +1,4 @@ +cmake_minimum_required(VERSION 3.1) enable_language(C) set(obj "${CMAKE_C_OUTPUT_EXTENSION}") if(BORLAND) diff --git a/Tests/RunCMake/try_compile/CMakeLists.txt b/Tests/RunCMake/try_compile/CMakeLists.txt index 12cd3c7..74b3ff8 100644 --- a/Tests/RunCMake/try_compile/CMakeLists.txt +++ b/Tests/RunCMake/try_compile/CMakeLists.txt @@ -1,3 +1,3 @@ -cmake_minimum_required(VERSION 2.8.4) +cmake_minimum_required(VERSION 3.3) project(${RunCMake_TEST} NONE) include(${RunCMake_TEST}.cmake) diff --git a/Tests/RunCMake/try_compile/proj/CMakeLists.txt b/Tests/RunCMake/try_compile/proj/CMakeLists.txt index 78a87c0..652f5b6 100644 --- a/Tests/RunCMake/try_compile/proj/CMakeLists.txt +++ b/Tests/RunCMake/try_compile/proj/CMakeLists.txt @@ -1,2 +1,2 @@ -cmake_minimum_required(VERSION 2.8.10) +cmake_minimum_required(VERSION 3.3) project(TestProject NONE) |