瀏覽代碼

Use rfc1034identifier modifier for the bundle name so that Urho3D samples build successfully for iOS out of the box.

Lasse Öörni 9 年之前
父節點
當前提交
84eca64c6b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMake/Modules/Urho3D-CMake-common.cmake

+ 1 - 1
CMake/Modules/Urho3D-CMake-common.cmake

@@ -547,7 +547,7 @@ if (APPLE)
     if (IOS OR URHO3D_MACOSX_BUNDLE)
         # Only set the bundle properties to its default when they are not explicitly specified by user
         if (NOT MACOSX_BUNDLE_GUI_IDENTIFIER)
-            set (MACOSX_BUNDLE_GUI_IDENTIFIER com.github.urho3d.\${PRODUCT_NAME:bundleIdentifier:lower})
+            set (MACOSX_BUNDLE_GUI_IDENTIFIER com.github.urho3d.\${PRODUCT_NAME:rfc1034identifier:lower})
         endif ()
         if (NOT MACOSX_BUNDLE_BUNDLE_NAME)
             set (MACOSX_BUNDLE_BUNDLE_NAME \${PRODUCT_NAME})