diff options
Diffstat (limited to 'Source/cmMarkAsAdvancedCommand.cxx')
-rw-r--r-- | Source/cmMarkAsAdvancedCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMarkAsAdvancedCommand.cxx b/Source/cmMarkAsAdvancedCommand.cxx index 1e71b2d..72768c7 100644 --- a/Source/cmMarkAsAdvancedCommand.cxx +++ b/Source/cmMarkAsAdvancedCommand.cxx @@ -56,7 +56,7 @@ bool cmMarkAsAdvancedCommand::InitialPass(std::vector<std::string> const& argsIn cmSystemTools::Error("This should never happen..."); return false; } - if ( overwrite ) + if ( !it.PropertyExists("ADVANCED") || overwrite ) { it.SetProperty("ADVANCED", value); } |