diff options
author | Shane Parris <shane.lee.parris@gmail.com> | 2018-02-23 13:56:22 (GMT) |
---|---|---|
committer | Shane Parris <shane.lee.parris@gmail.com> | 2018-02-23 16:20:15 (GMT) |
commit | b6ef4bc329552eb3e4e39156c05f1e2944a88e89 (patch) | |
tree | 8b1c99351ab92e94e40930064597f709d2ea5573 /Source/cmGlobalXCodeGenerator.cxx | |
parent | ebf0a0827992be5cc03e530f9dc06bd1d05c1aa6 (diff) | |
download | CMake-b6ef4bc329552eb3e4e39156c05f1e2944a88e89.zip CMake-b6ef4bc329552eb3e4e39156c05f1e2944a88e89.tar.gz CMake-b6ef4bc329552eb3e4e39156c05f1e2944a88e89.tar.bz2 |
Document and extend the CMAKE_SUPPRESS_REGENERATION variable
Fixes: https://gitlab.kitware.com/cmake/cmake/issues/16815
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index d3f5aac..0d5dad2 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -458,7 +458,7 @@ void cmGlobalXCodeGenerator::AddExtraTargets( makeHelper.push_back(""); // placeholder, see below // Add ZERO_CHECK - bool regenerate = !mf->IsOn("CMAKE_SUPPRESS_REGENERATION"); + bool regenerate = !this->GlobalSettingIsOn("CMAKE_SUPPRESS_REGENERATION"); bool generateTopLevelProjectOnly = mf->IsOn("CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY"); bool isTopLevel = |