lokinet/cmake/installer.cmake

21 lines
609 B
CMake
Raw Normal View History

2020-01-10 19:59:45 +00:00
set(CPACK_PACKAGE_NAME "lokinet")
set(CPACK_PACKAGE_VENDOR "lokinet.org")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "lokinet - onion router thingydoo")
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
set(CPACK_PACKAGE_INSTALL_DIRECTORY "lokinet")
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)