SublimeText2 Gen: Fixed the issue where include directory flags used -D
This commit is contained in:
parent
90bcb77956
commit
5b2aa3dd9a
|
@ -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()->
|
||||
|
|
Loading…
Reference in New Issue