diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-11-14 16:33:25 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-11-14 16:33:25 (GMT) |
commit | 115ea25dabaa9d7a63aee3e3cc43549b6afb8c23 (patch) | |
tree | 2464f3ce8cf8c07323103f5bd52e01bb4df186ec /Source/cmLocalUnixMakefileGenerator.cxx | |
parent | f67643112cffc73b0f8425e341952e3eda17d52d (diff) | |
download | CMake-115ea25dabaa9d7a63aee3e3cc43549b6afb8c23.zip CMake-115ea25dabaa9d7a63aee3e3cc43549b6afb8c23.tar.gz CMake-115ea25dabaa9d7a63aee3e3cc43549b6afb8c23.tar.bz2 |
BUG: fix flags for c compiler on windows
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index fdbdda1..7c72b08 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -1877,7 +1877,7 @@ void cmLocalUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout) std::vector<std::string>& includes = m_Makefile->GetIncludeDirectories(); std::vector<std::string>::iterator i; fout << "-I" << - cmSystemTools::ConvertToOutputPath(m_Makefile->GetStartDirectory()) << " "; + this->ConvertToOutputForExisting(m_Makefile->GetStartDirectory()) << " "; for(i = includes.begin(); i != includes.end(); ++i) { std::string include = *i; @@ -1886,7 +1886,7 @@ void cmLocalUnixMakefileGenerator::OutputMakeVariables(std::ostream& fout) // implementations because the wrong headers may be found first. if(include != "/usr/include") { - fout << "-I" << cmSystemTools::ConvertToOutputPath(i->c_str()) << " "; + fout << "-I" << this->ConvertToOutputForExisting(i->c_str()) << " "; } } fout << m_Makefile->GetDefineFlags(); |