|
|
@ -188,5 +188,10 @@ ELSEIF(WIN32)
|
|
|
|
SET(CPACK_GENERATOR "ZIP")
|
|
|
|
SET(CPACK_GENERATOR "ZIP")
|
|
|
|
ENDIF()
|
|
|
|
ENDIF()
|
|
|
|
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
|
|
|
|
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
|
|
|
|
set(CPACK_PACKAGE_FILE_NAME "dfhack-${DFHACK_VERSION}-${CMAKE_SYSTEM_NAME}")
|
|
|
|
IF(APPLE)
|
|
|
|
|
|
|
|
set(DFHACK_PACKAGE_PLATFORM_NAME OSX)
|
|
|
|
|
|
|
|
ELSE()
|
|
|
|
|
|
|
|
set(DFHACK_PACKAGE_PLATFORM_NAME ${CMAKE_SYSTEM_NAME})
|
|
|
|
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
set(CPACK_PACKAGE_FILE_NAME "dfhack-${DFHACK_VERSION}-${DFHACK_PACKAGE_PLATFORM_NAME}")
|
|
|
|
INCLUDE(CPack)
|
|
|
|
INCLUDE(CPack)
|
|
|
|