diff options
author | Brad King <brad.king@kitware.com> | 2020-02-25 13:55:42 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-02-25 13:55:49 (GMT) |
commit | 3a6481670fbe0ce20d05ef65f5632ca874f41978 (patch) | |
tree | f5f719e4ac8fd463900ee98a794f585d357ae4ba /Modules | |
parent | 1d338dcf4654c278ac3375e15b6ef5ea7360fb7b (diff) | |
parent | c3e0d1ffe9bd66642c436bab2db0a0a1a1adf99c (diff) | |
download | CMake-3a6481670fbe0ce20d05ef65f5632ca874f41978.zip CMake-3a6481670fbe0ce20d05ef65f5632ca874f41978.tar.gz CMake-3a6481670fbe0ce20d05ef65f5632ca874f41978.tar.bz2 |
Merge topic 'FindPkgConfig-scope' into release-3.17
c3e0d1ffe9 FindPkgConfig: set policies CMP0054 and CMP0057 to new
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4388
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPkgConfig.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake index f4b6ea1..c79f20f 100644 --- a/Modules/FindPkgConfig.cmake +++ b/Modules/FindPkgConfig.cmake @@ -20,6 +20,10 @@ following variables will also be set: #]========================================] +cmake_policy(PUSH) +cmake_policy(SET CMP0054 NEW) # if() quoted variables not dereferenced +cmake_policy(SET CMP0057 NEW) # if IN_LIST + ### Common stuff #### set(PKG_CONFIG_VERSION 1) @@ -770,3 +774,5 @@ Variables Affecting Behavior ### Local Variables: ### mode: cmake ### End: + +cmake_policy(POP) |