diff options
author | Morné Chamberlain <thefreeman.za@gmail.com> | 2012-11-07 19:45:07 (GMT) |
---|---|---|
committer | Morné Chamberlain <thefreeman.za@gmail.com> | 2012-11-07 19:45:07 (GMT) |
commit | 5b2aa3dd9af903e7aae0a252d2119847ceac4aa0 (patch) | |
tree | 108b1c56e96691d6618462a699b9ec306380bfb8 /Source/cmExtraSublimeTextGenerator.cxx | |
parent | 90bcb77956464b53aaf2ce8d17b2a878f74ce27e (diff) | |
download | CMake-5b2aa3dd9af903e7aae0a252d2119847ceac4aa0.zip CMake-5b2aa3dd9af903e7aae0a252d2119847ceac4aa0.tar.gz CMake-5b2aa3dd9af903e7aae0a252d2119847ceac4aa0.tar.bz2 |
SublimeText2 Gen: Fixed the issue where include directory flags used -D
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.cxx')
-rw-r--r-- | Source/cmExtraSublimeTextGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx index 64796c8..279d9f4 100644 --- a/Source/cmExtraSublimeTextGenerator.cxx +++ b/Source/cmExtraSublimeTextGenerator.cxx @@ -361,7 +361,7 @@ void cmExtraSublimeTextGenerator::AppendTarget(cmGeneratedFileStream& fout, ExtractFlags(cflags.c_str(), "-I", includeDirs); cflags = makefile->GetSafeDefinition("CMAKE_C_FLAGS"); ExtractFlags(cflags.c_str(), "-D", defines); - ExtractFlags(cflags.c_str(), "-D", includeDirs); + ExtractFlags(cflags.c_str(), "-I", includeDirs); // the include directories for this target std::vector<std::string> includes; target->GetMakefile()->GetLocalGenerator()-> |