Adjusts the macOS specific CMakeLists.txt
This should fix the icon setting for macOS bundle for potential Jenkins builds in the future.
This commit is contained in:
@@ -18,11 +18,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Pick the bundle icon depending on the release channel
|
# Pick the bundle icon depending on the release channel
|
||||||
if(RELEASE_BUILD)
|
if(BUILD_TYPE STREQUAL "release")
|
||||||
set(APP_ICON_MACOSX icons/release/86Box.icns)
|
set(APP_ICON_MACOSX icons/release/86Box.icns)
|
||||||
elseif(BETA_BUILD)
|
elseif(BUILD_TYPE STREQUAL "beta")
|
||||||
set(APP_ICON_MACOSX icons/beta/86Box.icns)
|
set(APP_ICON_MACOSX icons/beta/86Box.icns)
|
||||||
elseif(ALPHA_BUILD)
|
elseif(BUILD_TYPE STREQUAL "alpha")
|
||||||
set(APP_ICON_MACOSX icons/dev/86Box.icns)
|
set(APP_ICON_MACOSX icons/dev/86Box.icns)
|
||||||
else()
|
else()
|
||||||
set(APP_ICON_MACOSX icons/branch/86Box.icns)
|
set(APP_ICON_MACOSX icons/branch/86Box.icns)
|
||||||
@@ -50,4 +50,4 @@ set_target_properties(86Box
|
|||||||
|
|
||||||
#set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "YES")
|
#set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "YES")
|
||||||
#set(XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "-")
|
#set(XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "-")
|
||||||
#set(XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${CMAKE_CURRENT_SOURCE_DIR}/mac/codesign/dev/app.entitlements)
|
#set(XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${CMAKE_CURRENT_SOURCE_DIR}/mac/codesign/dev/app.entitlements)
|
||||||
|
Reference in New Issue
Block a user