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
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
xcode: Don't set INSTALL_PATH unless target is SHARED_LIBRARY
Tip revision: 61acaa1
File | Mode | Size |
---|---|---|
CMP0044 | ||
CMakeLists.txt | -rw-r--r-- | 18.5 KB |
check-common.cmake | -rw-r--r-- | 154 bytes |
check-part1.cmake | -rw-r--r-- | 1.8 KB |
check-part2.cmake | -rw-r--r-- | 2.1 KB |
check-part3.cmake | -rw-r--r-- | 1.7 KB |
check-part4.cmake | -rw-r--r-- | 947 bytes |
check-part5.cmake | -rw-r--r-- | 132 bytes |
check_object_files.cmake | -rw-r--r-- | 780 bytes |
echo.c | -rw-r--r-- | 127 bytes |
empty.cpp | -rw-r--r-- | 72 bytes |
objlib1.c | -rw-r--r-- | 20 bytes |
objlib2.c | -rw-r--r-- | 20 bytes |
pwd.c | -rw-r--r-- | 486 bytes |
srcgenex.c.in | -rw-r--r-- | 139 bytes |
srcgenex_includes.c.in | -rw-r--r-- | 133 bytes |
srcgenex_includes.h.in | -rw-r--r-- | 88 bytes |
Computing file changes ...