diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2011-06-02 14:28:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2011-06-02 14:28:10 (GMT) |
commit | 7815e90e21049cb06ecbdbe8ed44aa008aa9d6f4 (patch) | |
tree | c326e90b7c2563285951f39e0f26909b15e87b14 /Source/cmVisualStudioGeneratorOptions.cxx | |
parent | 5764739f52095d6be5bb8d105335c58974ee40ec (diff) | |
download | CMake-7815e90e21049cb06ecbdbe8ed44aa008aa9d6f4.zip CMake-7815e90e21049cb06ecbdbe8ed44aa008aa9d6f4.tar.gz CMake-7815e90e21049cb06ecbdbe8ed44aa008aa9d6f4.tar.bz2 |
Fix for bug#10798. VS10 did not append -I flags with COMPILE_FLAGS prop.
This fix adds a test for this case for all generators.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.cxx')
-rw-r--r-- | Source/cmVisualStudioGeneratorOptions.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx b/Source/cmVisualStudioGeneratorOptions.cxx index ed0d60c..ae496ad 100644 --- a/Source/cmVisualStudioGeneratorOptions.cxx +++ b/Source/cmVisualStudioGeneratorOptions.cxx @@ -299,7 +299,12 @@ cmVisualStudioGeneratorOptions { fout << "<" << m->first << ">"; } - fout << m->second << "</" << m->first << ">\n"; + fout << m->second; + if (m->first == "AdditionalIncludeDirectories") + { + fout << ";%(AdditionalIncludeDirectories)"; + } + fout << "</" << m->first << ">\n"; } } else |