summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-26 14:01:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-26 14:02:07 (GMT)
commitf7430b2538211ea59d5a853148de3b282796bf6a (patch)
tree39cb2828ba96bbb6cd3afc8fb16a8f8fafe5c70c /Source/cmLocalVisualStudio7Generator.cxx
parentba806600f721abdbb7d21e8c09d76d91cc554568 (diff)
parentb6ef4bc329552eb3e4e39156c05f1e2944a88e89 (diff)
downloadCMake-f7430b2538211ea59d5a853148de3b282796bf6a.zip
CMake-f7430b2538211ea59d5a853148de3b282796bf6a.tar.gz
CMake-f7430b2538211ea59d5a853148de3b282796bf6a.tar.bz2
Merge topic 'extend_suppress_regeneration'
b6ef4bc3 Document and extend the CMAKE_SUPPRESS_REGENERATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1792
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 98b1c44..16d5381 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -210,7 +210,8 @@ void cmLocalVisualStudio7Generator::CreateSingleVCProj(
cmSourceFile* cmLocalVisualStudio7Generator::CreateVCProjBuildRule()
{
- if (this->Makefile->IsOn("CMAKE_SUPPRESS_REGENERATION")) {
+ if (this->GlobalGenerator->GlobalSettingIsOn(
+ "CMAKE_SUPPRESS_REGENERATION")) {
return nullptr;
}