From ba48c1ee581a6514fe558d23a5c63fa8a53ddc5b Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Fri, 14 Jan 2022 19:33:23 +0530 Subject: macOS: silence bundle identifier mismatch Xcode warning Blender.xcodeproj User-supplied CFBundleIdentifier value 'org.blenderfoundation.blender' in the Info.plist must be the same as the PRODUCT_BUNDLE_IDENTIFIER build setting value ''. Reviewed By: #platform_macos, brecht Differential Revision: https://developer.blender.org/D13826 --- build_files/cmake/platform/platform_apple.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build_files') diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index 929be0c93f7..bf517f8fde9 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -508,3 +508,6 @@ list(APPEND CMAKE_BUILD_RPATH "${OpenMP_LIBRARY_DIR}") set(CMAKE_SKIP_INSTALL_RPATH FALSE) list(APPEND CMAKE_INSTALL_RPATH "@loader_path/../Resources/${BLENDER_VERSION}/lib") + +# Same as `CFBundleIdentifier` in Info.plist. +set(CMAKE_XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "org.blenderfoundation.blender") -- cgit v1.2.3