summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGetPropertyCommand.cxx4
-rw-r--r--Source/cmSetPropertiesCommand.cxx4
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;