diff options
author | Brad King <brad.king@kitware.com> | 2017-08-10 15:37:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-10 19:08:02 (GMT) |
commit | fb0c3c564c6623750964bbbf6db602e089c2ecc4 (patch) | |
tree | 19f1f4177d8e6ec354d61c5fd70915297a93567b /Utilities | |
parent | 88c9878af9d6d4b8cd3c7358bfdd12206c8aadb4 (diff) | |
download | CMake-fb0c3c564c6623750964bbbf6db602e089c2ecc4.zip CMake-fb0c3c564c6623750964bbbf6db602e089c2ecc4.tar.gz CMake-fb0c3c564c6623750964bbbf6db602e089c2ecc4.tar.bz2 |
Require CMake 3.1 to build CMake itself
This simplifies some policy settings and use of third-party
libraries with imported targets.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/Doxygen/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Utilities/Sphinx/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/Doxygen/CMakeLists.txt b/Utilities/Doxygen/CMakeLists.txt index f1e8f95..6a90c84 100644 --- a/Utilities/Doxygen/CMakeLists.txt +++ b/Utilities/Doxygen/CMakeLists.txt @@ -3,7 +3,7 @@ if(NOT CMake_SOURCE_DIR) set(CMakeDeveloperReference_STANDALONE 1) - cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR) + cmake_minimum_required(VERSION 3.1 FATAL_ERROR) get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH) get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH) include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake) diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt index a29380c..2de821c 100644 --- a/Utilities/Sphinx/CMakeLists.txt +++ b/Utilities/Sphinx/CMakeLists.txt @@ -3,7 +3,7 @@ if(NOT CMake_SOURCE_DIR) set(CMakeHelp_STANDALONE 1) - cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR) + cmake_minimum_required(VERSION 3.1 FATAL_ERROR) get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH) get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH) include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake) |