mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Always access target location from a cmGeneratorTarget instance.
This commit is contained in:
@@ -591,7 +591,9 @@ void cmExtraCodeBlocksGenerator::AppendTarget(cmGeneratedFileStream& fout,
|
||||
}
|
||||
else
|
||||
{
|
||||
location = target->GetLocation(buildType);
|
||||
cmGeneratorTarget* gt =
|
||||
this->GlobalGenerator->GetGeneratorTarget(target);
|
||||
location = gt->Target->GetLocation(buildType);
|
||||
}
|
||||
|
||||
fout<<" <Option output=\"" << location
|
||||
|
||||
Reference in New Issue
Block a user