summaryrefslogtreecommitdiffstats
path: root/Tests/TryCompile
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2021-04-04 20:57:58 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-05 13:53:07 (GMT)
commitf6b4db365a5e5723029c06357e81aa6c93ba1f76 (patch)
treed6f5dff9b8a3036cc8ec6b9221c3d7bbf1dde6be /Tests/TryCompile
parent20e90c08e3b1fa60b69442d384bcc236ff6f8a21 (diff)
downloadCMake-f6b4db365a5e5723029c06357e81aa6c93ba1f76.zip
CMake-f6b4db365a5e5723029c06357e81aa6c93ba1f76.tar.gz
CMake-f6b4db365a5e5723029c06357e81aa6c93ba1f76.tar.bz2
Tests: bump cmake_minimum_required version to 2.8.12
This needlessly produces warnings during the test runs that no-one sees but that are distracting when actually inspecting the logs.
Diffstat (limited to 'Tests/TryCompile')
-rw-r--r--Tests/TryCompile/CMakeLists.txt2
-rw-r--r--Tests/TryCompile/Inner/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TryCompile/CMakeLists.txt b/Tests/TryCompile/CMakeLists.txt
index 0c6b938..fa0549f 100644
--- a/Tests/TryCompile/CMakeLists.txt
+++ b/Tests/TryCompile/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 2.6)
+cmake_minimum_required (VERSION 2.8.12)
project(TryCompile)
macro(TEST_ASSERT value msg)
diff --git a/Tests/TryCompile/Inner/CMakeLists.txt b/Tests/TryCompile/Inner/CMakeLists.txt
index d62bcc4..d8c22d0 100644
--- a/Tests/TryCompile/Inner/CMakeLists.txt
+++ b/Tests/TryCompile/Inner/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.8.12)
project(TryCompileInner C)
try_compile(SHOULD_PASS