diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-17 15:48:52 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-17 15:48:52 (GMT) |
commit | 577cf9194542b874676a08291f3a27a65784d017 (patch) | |
tree | bd6840be8cae58d1f0800df1e8397ced84a33608 /Source/cmMarkAsAdvancedCommand.cxx | |
parent | e5e0132203ab8b8c2391ad7847cf2204d1e44639 (diff) | |
download | CMake-577cf9194542b874676a08291f3a27a65784d017.zip CMake-577cf9194542b874676a08291f3a27a65784d017.tar.gz CMake-577cf9194542b874676a08291f3a27a65784d017.tar.bz2 |
Fix problems with advanced not being marked.
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); } |