mirror of
https://github.com/reactos/CMake.git
synced 2025-01-23 12:15:20 +00:00
Fix determination of when we're evaluating compile definitions.
Also handle the config-specific property.
This commit is contained in:
parent
813b519280
commit
b030323c13
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user