Skip to content

Commit

Permalink
Substitute Darwin with macOS in the artefact name.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroneko committed Jul 18, 2020
1 parent 7d1c44b commit 44f9691
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,16 @@ if(USE_LOG)
endif()

if(NOT BUILD_DEMO)
set(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
set(CPACK_WIX_UPGRADE_GUID E709D29C-1BD8-4679-A8CA-9D40567771F5)
if(CMAKE_SYSTEM_NAME MATCHES Linux)
set(CPACK_GENERATOR TGZ)
set(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
elseif(CMAKE_SYSTEM_NAME MATCHES Windows)
set(CPACK_GENERATOR ZIP;WIX)
set(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR})
elseif(CMAKE_SYSTEM_NAME MATCHES Darwin)
set(CPACK_GENERATOR ZIP;DragNDrop)
set(CPACK_SYSTEM_NAME macOS-${CMAKE_SYSTEM_PROCESSOR})
endif()
set(CPACK_PACKAGE_NAME "Strange Adventures in Infinite Space GPL")
set(CPACK_PACKAGE_FILE_NAME "SAIS-GPL-${CMAKE_PROJECT_VERSION}-${CPACK_SYSTEM_NAME}")
Expand Down

0 comments on commit 44f9691

Please sign in to comment.