https://github.com/Kitware/CMake
Revision 61acaa12af7952f6eaae77b98f2c21630dc2d64d authored by Tor Arne Vestbø on 13 July 2022, 22:28:38 UTC, committed by Brad King on 16 August 2022, 17:35:36 UTC
An empty INSTALL_PATH will confuse Xcode, resulting in the archive
action producing archives that can not be uploaded to the App Store.

The logic to pull out a install_name_dir only applies to
SHARED_LIBRARY targets, so we can skip the setting of the
property for all other targets.

There might be cases where the INSTALL_PATH code path will also
end up setting an empty INSTALL_PATH, but it's unclear whether
this is a problem, so to keep the patch minimal the existing
code is left as is.

Fixes: #15183
1 parent 5b949bb
Raw File
Tip revision: 61acaa12af7952f6eaae77b98f2c21630dc2d64d authored by Tor Arne Vestbø on 13 July 2022, 22:28:38 UTC
xcode: Don't set INSTALL_PATH unless target is SHARED_LIBRARY
Tip revision: 61acaa1
.gitignore
# Common build directories
build*/

# Exclude MacOS Finder files.
.DS_Store

*.user*

*.pyc

Help/_generated
Testing
CMakeUserPresets.json

# Visual Studio work directory
.vs/
# Visual Studio build directory
out/

# Visual Studio Code
.vscode/

# CLion work directory
.idea/
# CLion build directories
cmake-build-*/
back to top