Fix T54234, add BLENDER_VERSION_CHAR to .plist

This commit is contained in:
Arto Kitula 2018-03-06 02:36:29 +02:00
parent d9d3ed16a8
commit b5b5260464
Notes: blender-bot 2023-02-14 08:06:38 +01:00
Referenced by issue #55086, Armature not properly detected as a user of animation actions
Referenced by issue #54340, Numpad problems in laptop
Referenced by issue #54255, 2.79b release
Referenced by issue #54234, Version Value in the blender.app for macOS states the major version number only
2 changed files with 4 additions and 4 deletions

View 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)

View 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"