diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-06-29 14:19:23 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-29 09:52:44 -0400 |
commit | c2a6df94ed639de2192c8baf2350efb2a4fd9c50 (patch) | |
tree | bd67ce25ac2c4adf44f58284f018ad6a30ebff48 /Source/cmGlobalXCodeGenerator.h | |
parent | 372de3f8039f69b3a2edcf7120083ec4097f8bd3 (diff) | |
download | cmake-c2a6df94ed639de2192c8baf2350efb2a4fd9c50.tar.gz |
Xcode: Use correct Object Library paths for cross-SDK builds
When calculating Object Library paths take a look at the
`XCODE_EMIT_EFFECTIVE_PLATFORM_NAME` property to enable builds with
different SDKs. Otherwise a hard-coded architecture could be chosen.
Fixes: #16040
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index f38fa3c3b2..e69793bcc2 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -247,7 +247,7 @@ private: const cmGeneratorTarget* t) const; void ComputeArchitectures(cmMakefile* mf); - void ComputeObjectDirArch(); + void ComputeObjectDirArch(cmMakefile* mf); void addObject(cmXCodeObject* obj); std::string PostBuildMakeTarget(std::string const& tName, |