|
|
@@ -37,16 +37,16 @@ set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}") |
|
|
|
set(CPACK_PACKAGE_NAME "aptdec") |
|
|
|
set(CPACK_PACKAGE_CONTACT "Xerbo (xerbo@protonmail.com)") |
|
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "NOAA APT satellite imagery decoder") |
|
|
|
SET(CPACK_PACKAGE_DESCRIPTION "Aptdec is a FOSS program that decodes images transmitted by NOAA weather satellites. These satellites transmit constantly (among other things) medium resolution (4km/px) images of the earth over a analog mode called APT.") |
|
|
|
set(CPACK_PACKAGE_DESCRIPTION "Aptdec is a FOSS program that decodes images transmitted by NOAA weather satellites. These satellites transmit constantly (among other things) medium resolution (4km/px) images of the earth over a analog mode called APT.") |
|
|
|
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") |
|
|
|
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) |
|
|
|
|
|
|
|
IF(NOT WIN32) |
|
|
|
set(CPACK_GENERATOR "DEB") |
|
|
|
set(CPACK_GENERATOR "DEB;TGZ") |
|
|
|
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}.${CMAKE_SYSTEM_PROCESSOR}") |
|
|
|
|
|
|
|
install(TARGETS aptdec DESTINATION "bin/") |
|
|
|
install(DIRECTORY "${PROJECT_SOURCE_DIR}/palettes/" DESTINATION "lib/aptdec/palettes") |
|
|
|
install(DIRECTORY "${PROJECT_SOURCE_DIR}/palettes/" DESTINATION "palettes/") |
|
|
|
else() |
|
|
|
#set(CPACK_GENERATOR "ZIP;NSIS") |
|
|
|
set(CPACK_GENERATOR "ZIP") |
|
|
|