summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-12 14:14:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-02-12 14:15:07 (GMT)
commit10b834a3eb77debb44365c7cbdd4db6e8216a4e5 (patch)
treeb1fecd525bc3efb88dbdf759803856a2be710714 /Source
parent96ee8b7266134e6b215875d4ead7f9841a7459d7 (diff)
parent818ec34bddf3c5f838d3a3087d00e3a94e62cba4 (diff)
downloadCMake-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.cxx2
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);