mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 17:56:26 +00:00
GHS: Compute include directories consistently with other generators
All generators use cmLocalGenerator::GetIncludeDirectories to construct the final list of include directories for a target.
This commit is contained in:
parent
7807b3a9db
commit
a896043bac
@ -322,8 +322,10 @@ void cmGhsMultiTargetGenerator::WriteCompilerDefinitions(
|
||||
void cmGhsMultiTargetGenerator::WriteIncludes(const std::string& config,
|
||||
const std::string& language)
|
||||
{
|
||||
std::vector<std::string> includes =
|
||||
this->GeneratorTarget->GetIncludeDirectories(config, language);
|
||||
std::vector<std::string> includes;
|
||||
this->LocalGenerator->GetIncludeDirectories(includes, this->GeneratorTarget,
|
||||
language, config);
|
||||
|
||||
for (std::vector<std::string>::const_iterator includes_i = includes.begin();
|
||||
includes_i != includes.end(); ++includes_i) {
|
||||
*this->GetFolderBuildStreams() << " -I\"" << *includes_i << "\""
|
||||
|
Loading…
Reference in New Issue
Block a user