summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-01 15:40:25 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-02-01 16:02:53 (GMT)
commit6d407ae439f1db086dd7a3675c8efce93a19fed3 (patch)
tree64ad3eaae4121fdba981a1f37931fa261b1c5966 /Source/cmGlobalXCodeGenerator.cxx
parent2ddf3f4467bdd600027dd3532515d05d44996871 (diff)
downloadCMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.zip
CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.tar.gz
CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.tar.bz2
Use cmSourceFile::GetIsGenerated
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index f1b32ee..b428ae1 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2460,7 +2460,7 @@ cmXCodeObject* cmGlobalXCodeGenerator::CreateUtilityTarget(
this->AddXCodeProjBuildRule(gtgt, sources);
for (auto sourceFile : sources) {
- if (!sourceFile->GetPropertyAsBool("GENERATED")) {
+ if (!sourceFile->GetIsGenerated()) {
this->CreateXCodeFileReference(sourceFile, gtgt);
}
}