2020-01-10 19:59:45 +00:00
|
|
|
set(CPACK_PACKAGE_NAME "lokinet")
|
|
|
|
set(CPACK_PACKAGE_VENDOR "lokinet.org")
|
2020-04-03 14:14:19 +00:00
|
|
|
set(CPACK_PACKAGE_HOMEPAGE_URL "https://lokinet.org/")
|
|
|
|
set(CPACK_PACKAGE_DESCRIPTION "lokinet - IP packet onion router")
|
|
|
|
set(CPACK_PACKAGE_README_FILE "${CMAKE_SOURCE_DIR}/readme.md")
|
2020-01-10 19:59:45 +00:00
|
|
|
set(CPACK_PACKAGE_VERSION_MAJOR "${LLARP_VERSION_MAJOR}")
|
|
|
|
set(CPACK_PACKAGE_VERSION_MINOR "${LLARP_VERSION_MINOR}")
|
|
|
|
set(CPACK_PACKAGE_VERSION_PATCH "${LLARP_VERSION_PATCH}")
|
2020-04-02 15:53:14 +00:00
|
|
|
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt")
|
2020-01-10 19:59:45 +00:00
|
|
|
|
2020-01-10 22:32:00 +00:00
|
|
|
if(WIN32)
|
|
|
|
include(cmake/win32_installer_deps.cmake)
|
|
|
|
endif()
|
|
|
|
|
2020-04-02 15:53:14 +00:00
|
|
|
if(APPLE)
|
|
|
|
include(cmake/macos_installer_deps.cmake)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
2020-01-10 19:59:45 +00:00
|
|
|
# This must always be last!
|
|
|
|
include(CPack)
|