|
|
@@ -1062,7 +1062,8 @@ void cmMakefileTargetGenerator::WriteTargetDependRules()
|
|
|
*this->InfoFileStream
|
|
|
<< "SET(CMAKE_C_TARGET_INCLUDE_PATH\n";
|
|
|
std::vector<std::string> includes;
|
|
|
- this->LocalGenerator->GetIncludeDirectories(includes, this->Target);
|
|
|
+ this->LocalGenerator->GetIncludeDirectories(includes,
|
|
|
+ this->GeneratorTarget);
|
|
|
for(std::vector<std::string>::iterator i = includes.begin();
|
|
|
i != includes.end(); ++i)
|
|
|
{
|
|
|
@@ -1547,7 +1548,8 @@ std::string cmMakefileTargetGenerator::GetFrameworkFlags()
|
|
|
emitted.insert("/System/Library/Frameworks");
|
|
|
#endif
|
|
|
std::vector<std::string> includes;
|
|
|
- this->LocalGenerator->GetIncludeDirectories(includes, this->Target);
|
|
|
+ this->LocalGenerator->GetIncludeDirectories(includes,
|
|
|
+ this->GeneratorTarget);
|
|
|
std::vector<std::string>::iterator i;
|
|
|
// check all include directories for frameworks as this
|
|
|
// will already have added a -F for the framework
|
|
|
@@ -1852,7 +1854,8 @@ void cmMakefileTargetGenerator::AddIncludeFlags(std::string& flags,
|
|
|
|
|
|
|
|
|
std::vector<std::string> includes;
|
|
|
- this->LocalGenerator->GetIncludeDirectories(includes, this->Target, lang);
|
|
|
+ this->LocalGenerator->GetIncludeDirectories(includes,
|
|
|
+ this->GeneratorTarget, lang);
|
|
|
|
|
|
std::string includeFlags =
|
|
|
this->LocalGenerator->GetIncludeFlags(includes, lang, useResponseFile);
|
|
|
@@ -1955,7 +1958,8 @@ void cmMakefileTargetGenerator::AddFortranFlags(std::string& flags)
|
|
|
this->Makefile->GetDefinition("CMAKE_Fortran_MODPATH_FLAG"))
|
|
|
{
|
|
|
std::vector<std::string> includes;
|
|
|
- this->LocalGenerator->GetIncludeDirectories(includes, this->Target);
|
|
|
+ this->LocalGenerator->GetIncludeDirectories(includes,
|
|
|
+ this->GeneratorTarget);
|
|
|
for(std::vector<std::string>::const_iterator idi = includes.begin();
|
|
|
idi != includes.end(); ++idi)
|
|
|
{
|