Blender Git Loki
Git Commits -> Revision a22471f
Revision a22471f by Sergey Sharybin (master) March 26, 2020, 10:35 (GMT) |
CMake: Fix macOS SDK detection with latest Xcode and macOS Happens on macOS 10.15.4 and Xcode 11.4. The reason of failure is caused by following factors: - xcodebuild reports full semantic macOS SDK version 10.15.4 - The actual SDK file path will only include major and minor part of the version (10.15, MacOSX10.15.sdk) - Previous CMake code of ours expected direct match between SDK version and file path. The solution is to make our detection code a bit more flexible and additionally check for major.minor macOS SDK version in the path. |
Commit Details:
Full Hash: a22471f1d1de3a91560d73e9aaa7823b05eff89e
Parent Commit: f9590c8
Lines Changed: +46, -2
1 Modified Path:
/build_files/cmake/platform/platform_apple_xcode.cmake (+46, -2) (Diff)