You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/cmake/installer.cmake

21 lines
609 B
CMake

4 years ago
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}")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt")
4 years ago
set(CPACK_PACKAGE_INSTALL_DIRECTORY "lokinet")
if(WIN32)
include(cmake/win32_installer_deps.cmake)
endif()
if(APPLE)
include(cmake/macos_installer_deps.cmake)
endif()
4 years ago
# This must always be last!
include(CPack)