Fix T54234, add BLENDER_VERSION_CHAR to .plist
authorArto Kitula <arto.kitula@gmail.com>
Tue, 6 Mar 2018 00:36:29 +0000 (02:36 +0200)
committerArto Kitula <arto.kitula@gmail.com>
Tue, 6 Mar 2018 00:36:29 +0000 (02:36 +0200)
source/blenderplayer/CMakeLists.txt
source/creator/CMakeLists.txt

index 25ae83d..cec936f 100644 (file)
@@ -58,8 +58,8 @@ elseif(APPLE)
        set(PLAYER_SOURCEINFO ${PLAYER_SOURCEDIR}/Contents/Info.plist)
        set_target_properties(blenderplayer PROPERTIES
                MACOSX_BUNDLE_INFO_PLIST ${PLAYER_SOURCEINFO}
-               MACOSX_BUNDLE_SHORT_VERSION_STRING ${BLENDER_VERSION}
-               MACOSX_BUNDLE_LONG_VERSION_STRING "${BLENDER_VERSION} ${BLENDER_DATE}")
+               MACOSX_BUNDLE_SHORT_VERSION_STRING "${BLENDER_VERSION}${BLENDER_VERSION_CHAR}"
+               MACOSX_BUNDLE_LONG_VERSION_STRING "${BLENDER_VERSION}${BLENDER_VERSION_CHAR} ${BLENDER_DATE}")
 
 else()
        add_executable(blenderplayer bad_level_call_stubs/stubs.c)
index bcb0a7a..a155f06 100644 (file)
@@ -864,8 +864,8 @@ elseif(APPLE)
 
        set_target_properties(blender PROPERTIES
                MACOSX_BUNDLE_INFO_PLIST ${OSX_APP_SOURCEDIR}/Contents/Info.plist
-               MACOSX_BUNDLE_SHORT_VERSION_STRING ${BLENDER_VERSION}
-               MACOSX_BUNDLE_LONG_VERSION_STRING "${BLENDER_VERSION} ${BLENDER_DATE}")
+               MACOSX_BUNDLE_SHORT_VERSION_STRING "${BLENDER_VERSION}${BLENDER_VERSION_CHAR}"
+               MACOSX_BUNDLE_LONG_VERSION_STRING "${BLENDER_VERSION}${BLENDER_VERSION_CHAR} ${BLENDER_DATE}")
 
        # Gather the date in finder-style
        execute_process(COMMAND date "+%m/%d/%Y/%H:%M"