summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2020-12-22 14:47:04 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2020-12-23 13:55:45 (GMT)
commit72e7c45e984c006c12a4cb8159d3fa3784c02212 (patch)
tree823979fc5f29db333606abcc17a1cfd6b4f1b311 /Tests/CMakeTests
parent440531e0f9abba65839e2e242367c6091cc4789c (diff)
downloadCMake-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/CMakeTests')
-rw-r--r--Tests/CMakeTests/EndStuffTestScript.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/EndStuffTestScript.cmake b/Tests/CMakeTests/EndStuffTestScript.cmake
index 6a6b162..e0d826d 100644
--- a/Tests/CMakeTests/EndStuffTestScript.cmake
+++ b/Tests/CMakeTests/EndStuffTestScript.cmake
@@ -22,7 +22,7 @@ elseif(testname STREQUAL bad_endfunction) # fail
do_end("endfunction()\n")
elseif(testname STREQUAL bad_endif) # fail
- do_end("cmake_minimum_required(VERSION 2.8)\nendif()\n")
+ do_end("cmake_minimum_required(VERSION 2.8.12)\nendif()\n")
elseif(testname STREQUAL endif_low_min_version) # fail
do_end("cmake_minimum_required(VERSION 1.2)\nendif()\n")