diff options
author | Brad King <brad.king@kitware.com> | 2020-02-24 19:45:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-24 19:45:34 (GMT) |
commit | ede4497cb2e64ccb210e8aa9446aa89738019fa5 (patch) | |
tree | 9335cd6c2883c8ca18a486f4499091fa8b31ab22 /Modules | |
parent | 0aa91f9a66bcef73fc19d8b3ea4feeec5476d52e (diff) | |
parent | c3e0d1ffe9bd66642c436bab2db0a0a1a1adf99c (diff) | |
download | CMake-ede4497cb2e64ccb210e8aa9446aa89738019fa5.zip CMake-ede4497cb2e64ccb210e8aa9446aa89738019fa5.tar.gz CMake-ede4497cb2e64ccb210e8aa9446aa89738019fa5.tar.bz2 |
Merge branch 'FindPkgConfig-scope' into release-3.16
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 5162a44..bd1bc7c 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) |