summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorGusts Kaksis <gusts.kaksis@sonarworks.com>2020-08-29 12:56:05 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-08-31 21:38:48 (GMT)
commit525464ed2a8857be3fac224b4afde22c8c7dadeb (patch)
treedc2f31f41a340ca3f06f1770de04950dd18268b8 /Source/cmTarget.cxx
parentdc0898205c7fcebcb5224ba3eb6dd95c05193bdd (diff)
downloadCMake-525464ed2a8857be3fac224b4afde22c8c7dadeb.zip
CMake-525464ed2a8857be3fac224b4afde22c8c7dadeb.tar.gz
CMake-525464ed2a8857be3fac224b4afde22c8c7dadeb.tar.bz2
Xcode: Use "Link Binary With Libraries" build phase in some cases
OBJECT and STATIC libraries (framework or non-framework) do not use this build phase. Not all items to be linked use this build phase either. Co-Authored-By: Craig Scott <craig.scott@crascit.com>
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index bea9001..a694b141 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -398,6 +398,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
initProp("XCODE_SCHEME_DYNAMIC_LINKER_API_USAGE");
initProp("XCODE_SCHEME_DYNAMIC_LIBRARY_LOADS");
initProp("XCODE_SCHEME_ENVIRONMENT");
+ initPropValue("XCODE_LINK_BUILD_PHASE_MODE", "NONE");
}
#endif
}