diff options
author | Brad King <brad.king@kitware.com> | 2020-02-12 14:14:58 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-02-12 14:15:07 (GMT) |
commit | 10b834a3eb77debb44365c7cbdd4db6e8216a4e5 (patch) | |
tree | b1fecd525bc3efb88dbdf759803856a2be710714 /Source | |
parent | 96ee8b7266134e6b215875d4ead7f9841a7459d7 (diff) | |
parent | 818ec34bddf3c5f838d3a3087d00e3a94e62cba4 (diff) | |
download | CMake-10b834a3eb77debb44365c7cbdd4db6e8216a4e5.zip CMake-10b834a3eb77debb44365c7cbdd4db6e8216a4e5.tar.gz CMake-10b834a3eb77debb44365c7cbdd4db6e8216a4e5.tar.bz2 |
Merge topic 'file-CONFIGURE_DEPENDS-verify-CMP0009' into release-3.17
818ec34bdd file: GLOB_RECURSE VerifyGlobs.cmake should have CMP0009 set to new
b620dc566d file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009
715f90bdd9 Tests: Perform minor cleanups in RunCMake.file test
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !4342
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobVerificationManager.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobVerificationManager.cxx b/Source/cmGlobVerificationManager.cxx index 4817773..9ac5cd5 100644 --- a/Source/cmGlobVerificationManager.cxx +++ b/Source/cmGlobVerificationManager.cxx @@ -38,6 +38,8 @@ bool cmGlobVerificationManager::SaveVerificationScript(const std::string& path) << cmVersion::GetMajorVersion() << "." << cmVersion::GetMinorVersion() << "\n"; + verifyScriptFile << "cmake_policy(SET CMP0009 NEW)\n"; + for (auto const& i : this->Cache) { CacheEntryKey k = std::get<0>(i); CacheEntryValue v = std::get<1>(i); |