Browse Source

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

Lasse Öörni 9 years ago
parent
commit
84eca64c6b
1 changed files with 1 additions and 1 deletions
  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)
     if (IOS OR URHO3D_MACOSX_BUNDLE)
         # Only set the bundle properties to its default when they are not explicitly specified by user
         # Only set the bundle properties to its default when they are not explicitly specified by user
         if (NOT MACOSX_BUNDLE_GUI_IDENTIFIER)
         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 ()
         endif ()
         if (NOT MACOSX_BUNDLE_BUNDLE_NAME)
         if (NOT MACOSX_BUNDLE_BUNDLE_NAME)
             set (MACOSX_BUNDLE_BUNDLE_NAME \${PRODUCT_NAME})
             set (MACOSX_BUNDLE_BUNDLE_NAME \${PRODUCT_NAME})