diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-06-25 16:50:29 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-06-25 16:50:29 (GMT) |
commit | 3bf92ad4b47d8230c4777707749d3c0566c05d6a (patch) | |
tree | 7d7836f012d7493676c303e01713c764897f009c | |
parent | c1467ff991699fccd1b30a257646adce5422e69e (diff) | |
download | CMake-3bf92ad4b47d8230c4777707749d3c0566c05d6a.zip CMake-3bf92ad4b47d8230c4777707749d3c0566c05d6a.tar.gz CMake-3bf92ad4b47d8230c4777707749d3c0566c05d6a.tar.bz2 |
COMP: fix warnings
-rw-r--r-- | Source/cmGetPropertyCommand.cxx | 4 | ||||
-rw-r--r-- | Source/cmSetPropertiesCommand.cxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx index 182be33..44ad26e 100644 --- a/Source/cmGetPropertyCommand.cxx +++ b/Source/cmGetPropertyCommand.cxx @@ -152,6 +152,10 @@ bool cmGetPropertyCommand::InitialPass( } } break; + case cmProperty::VARIABLE: + case cmProperty::CACHED_VARIABLE: + // not handled by GetProperty + break; } this->Makefile->AddDefinition(args[0].c_str(), output.c_str()); diff --git a/Source/cmSetPropertiesCommand.cxx b/Source/cmSetPropertiesCommand.cxx index aa4f7fa..117d0df 100644 --- a/Source/cmSetPropertiesCommand.cxx +++ b/Source/cmSetPropertiesCommand.cxx @@ -199,6 +199,10 @@ bool cmSetPropertiesCommand::InitialPass( } } break; + case cmProperty::VARIABLE: + case cmProperty::CACHED_VARIABLE: + // not handled by SetProperty + break; } return true; |