|
@@ -228,7 +228,7 @@ ComputeDefines(cmSourceFile *source, const std::string& language)
|
|
|
// Add preprocessor definitions for this target and configuration.
|
|
// Add preprocessor definitions for this target and configuration.
|
|
|
this->LocalGenerator->AppendDefines
|
|
this->LocalGenerator->AppendDefines
|
|
|
(defines,
|
|
(defines,
|
|
|
- this->GeneratorTarget->GetCompileDefinitions());
|
|
|
|
|
|
|
+ this->Target->GetCompileDefinitions());
|
|
|
this->LocalGenerator->AppendDefines
|
|
this->LocalGenerator->AppendDefines
|
|
|
(defines,
|
|
(defines,
|
|
|
source->GetProperty("COMPILE_DEFINITIONS"));
|
|
source->GetProperty("COMPILE_DEFINITIONS"));
|
|
@@ -237,7 +237,7 @@ ComputeDefines(cmSourceFile *source, const std::string& language)
|
|
|
defPropName += cmSystemTools::UpperCase(this->GetConfigName());
|
|
defPropName += cmSystemTools::UpperCase(this->GetConfigName());
|
|
|
this->LocalGenerator->AppendDefines
|
|
this->LocalGenerator->AppendDefines
|
|
|
(defines,
|
|
(defines,
|
|
|
- this->GeneratorTarget->GetCompileDefinitions(this->GetConfigName()));
|
|
|
|
|
|
|
+ this->Target->GetCompileDefinitions(this->GetConfigName()));
|
|
|
this->LocalGenerator->AppendDefines
|
|
this->LocalGenerator->AppendDefines
|
|
|
(defines,
|
|
(defines,
|
|
|
source->GetProperty(defPropName.c_str()));
|
|
source->GetProperty(defPropName.c_str()));
|