diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-12 09:38:45 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-02-12 09:39:34 (GMT) |
commit | b030323c133155c57437527d04ca2ba619663f6d (patch) | |
tree | 1de481671d8628cf7697fd28452266ee12185d08 /Source | |
parent | 813b519280af91336c54310b4c975110303b86b5 (diff) | |
download | CMake-b030323c133155c57437527d04ca2ba619663f6d.zip CMake-b030323c133155c57437527d04ca2ba619663f6d.tar.gz CMake-b030323c133155c57437527d04ca2ba619663f6d.tar.bz2 |
Fix determination of when we're evaluating compile definitions.
Also handle the config-specific property.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGeneratorExpressionDAGChecker.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionDAGChecker.cxx b/Source/cmGeneratorExpressionDAGChecker.cxx index 0ac1a48..57e7358 100644 --- a/Source/cmGeneratorExpressionDAGChecker.cxx +++ b/Source/cmGeneratorExpressionDAGChecker.cxx @@ -165,5 +165,6 @@ bool cmGeneratorExpressionDAGChecker::EvaluatingCompileDefinitions() { const char *prop = this->Property.c_str(); return (strcmp(prop, "COMPILE_DEFINITIONS") == 0 - || strcmp(prop, "INTERFACE_COMPILE_DEFINITIONS") == 0 ); + || strcmp(prop, "INTERFACE_COMPILE_DEFINITIONS") == 0 + || strncmp(prop, "COMPILE_DEFINITIONS_", 20) == 0); } |