mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
Simplify IF for OSX handling
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
aa6d9f5ba0
commit
9626b8ad84
1 changed files with 2 additions and 4 deletions
|
@ -154,15 +154,13 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
set(ICON_FILE ${CMAKE_SOURCE_DIR}/packaging/macosx/Subsurface.icns)
|
set(ICON_FILE ${CMAKE_SOURCE_DIR}/packaging/macosx/Subsurface.icns)
|
||||||
if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "MobileExecutable")
|
if(${SUBSURFACE_TARGET_EXECUTABLE} MATCHES "MobileExecutable")
|
||||||
set(MACOSX_BUNDLE_INFO_STRING "Subsurface-mobile")
|
set(MACOSX_BUNDLE_INFO_STRING "Subsurface-mobile")
|
||||||
set(MACOSX_BUNDLE_ICON_FILE Subsurface.icns)
|
|
||||||
set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.subsurface-divelog")
|
|
||||||
set(MACOSX_BUNDLE_BUNDLE_NAME "Subsurface-mobile")
|
set(MACOSX_BUNDLE_BUNDLE_NAME "Subsurface-mobile")
|
||||||
else()
|
else()
|
||||||
set(MACOSX_BUNDLE_INFO_STRING "Subsurface")
|
set(MACOSX_BUNDLE_INFO_STRING "Subsurface")
|
||||||
set(MACOSX_BUNDLE_ICON_FILE Subsurface.icns)
|
|
||||||
set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.subsurface-divelog")
|
|
||||||
set(MACOSX_BUNDLE_BUNDLE_NAME "Subsurface")
|
set(MACOSX_BUNDLE_BUNDLE_NAME "Subsurface")
|
||||||
endif()
|
endif()
|
||||||
|
set(MACOSX_BUNDLE_ICON_FILE Subsurface.icns)
|
||||||
|
set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.subsurface-divelog")
|
||||||
set(MACOSX_BUNDLE_BUNDLE_VERSION "${SSRF_VERSION_STRING}")
|
set(MACOSX_BUNDLE_BUNDLE_VERSION "${SSRF_VERSION_STRING}")
|
||||||
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${SSRF_VERSION_STRING}")
|
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${SSRF_VERSION_STRING}")
|
||||||
set(MACOSX_BUNDLE_LONG_VERSION_STRING "${SSRF_VERSION_STRING}")
|
set(MACOSX_BUNDLE_LONG_VERSION_STRING "${SSRF_VERSION_STRING}")
|
||||||
|
|
Loading…
Reference in a new issue