diff options
author | Brad King <brad.king@kitware.com> | 2017-10-11 12:20:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-11 12:20:25 (GMT) |
commit | ce45b3e4e3b0ba484e59818d1b9b53ef0d7f53d5 (patch) | |
tree | 8a8f29996d1a169f7328ffd45e8d298ea24eebf3 | |
parent | 165eff93821cf2860caea309a524b08179d5bc45 (diff) | |
parent | 491d2108983990eeda7d91dbc958a7fa9060659f (diff) | |
download | CMake-ce45b3e4e3b0ba484e59818d1b9b53ef0d7f53d5.zip CMake-ce45b3e4e3b0ba484e59818d1b9b53ef0d7f53d5.tar.gz CMake-ce45b3e4e3b0ba484e59818d1b9b53ef0d7f53d5.tar.bz2 |
Merge branch 'ExternalProject-CMP0054' into release-3.10
Merge-request: !1369
-rw-r--r-- | Modules/ExternalProject.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 76f5080..419c9d6 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -854,6 +854,9 @@ The custom step could then be triggered from the main build like so:: #]=======================================================================] +cmake_policy(PUSH) +cmake_policy(SET CMP0054 NEW) # if() quoted variables not dereferenced + # Pre-compute a regex to match documented keywords for each command. math(EXPR _ep_documentation_line_count "${CMAKE_CURRENT_LIST_LINE} - 4") file(STRINGS "${CMAKE_CURRENT_LIST_FILE}" lines @@ -3035,3 +3038,5 @@ function(ExternalProject_Add name) # _ep_add_test_command(${name}) endfunction() + +cmake_policy(POP) |