diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-23 16:29:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-09-26 19:17:22 (GMT) |
commit | 256c78ad4474d9e1d86b5ac420fb95b7eeb17b90 (patch) | |
tree | 2723363f1bfcf0e13c8fe7b839d20e9503ba0400 /CMakeLists.txt | |
parent | 414cc18a9a76e78b586edbd6eb34cc0060cae796 (diff) | |
download | CMake-256c78ad4474d9e1d86b5ac420fb95b7eeb17b90.zip CMake-256c78ad4474d9e1d86b5ac420fb95b7eeb17b90.tar.gz CMake-256c78ad4474d9e1d86b5ac420fb95b7eeb17b90.tar.bz2 |
Build: Set CMP0053 to NEW.
If this policy is WARN, then the ReplaceVariableInString is executed with both
the new algorithm and the OLD slow algorithm. The NEW algorithm should be used
wherever it works.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 94d138c..c96f68b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR) if(POLICY CMP0025) cmake_policy(SET CMP0025 NEW) endif() +if(POLICY CMP0053) + cmake_policy(SET CMP0053 NEW) +endif() project(CMake) if(CMAKE_BOOTSTRAP) |