summaryrefslogtreecommitdiffstats
path: root/Source/cmMSDotNETGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMSDotNETGenerator.cxx')
-rw-r--r--Source/cmMSDotNETGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMSDotNETGenerator.cxx b/Source/cmMSDotNETGenerator.cxx
index 54c8c4d..c4b3862 100644
--- a/Source/cmMSDotNETGenerator.cxx
+++ b/Source/cmMSDotNETGenerator.cxx
@@ -1126,7 +1126,7 @@ void cmMSDotNETGenerator::WriteVCProjFile(std::ostream& fout,
const char* compileFlags = 0;
if(cc->second.m_SourceFile)
{
- compileFlags = cc->second.m_SourceFile->GetCompileFlags();
+ compileFlags = cc->second.m_SourceFile->GetProperty("COMPILE_FLAGS");
}
if (source != libName || target.GetType() == cmTarget::UTILITY)
{