diff options
Diffstat (limited to 'Source/cmGetSourceFilePropertyCommand.cxx')
-rw-r--r-- | Source/cmGetSourceFilePropertyCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGetSourceFilePropertyCommand.cxx b/Source/cmGetSourceFilePropertyCommand.cxx index df8ca49..bfd7743 100644 --- a/Source/cmGetSourceFilePropertyCommand.cxx +++ b/Source/cmGetSourceFilePropertyCommand.cxx @@ -32,15 +32,15 @@ bool cmGetSourceFilePropertyCommand::InitialPass(std::vector<std::string> const& { if(args[2] == "ABSTRACT") { - m_Makefile->AddDefinition(var, sf->IsAnAbstractClass()); + m_Makefile->AddDefinition(var, sf->GetPropertyAsBool("ABSTRACT")); } if(args[2] == "WRAP_EXCLUDE") { - m_Makefile->AddDefinition(var, sf->GetWrapExclude()); + m_Makefile->AddDefinition(var, sf->GetPropertyAsBool("WRAP_EXCLUDE")); } if(args[2] == "COMPILE_FLAGS") { - m_Makefile->AddDefinition(var, sf->GetCompileFlags()); + m_Makefile->AddDefinition(var, sf->GetProperty("COMPILE_FLAGS")); } } else |