diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/cmake/installer.cmake b/cmake/installer.cmake index 48fc0897e..9c53a1ec2 100644 --- a/cmake/installer.cmake +++ b/cmake/installer.cmake @@ -4,12 +4,17 @@ 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") +set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE.txt") set(CPACK_PACKAGE_INSTALL_DIRECTORY "lokinet") if(WIN32) include(cmake/win32_installer_deps.cmake) endif() +if(APPLE) + include(cmake/macos_installer_deps.cmake) +endif() + + # This must always be last! include(CPack) diff --git a/cmake/macos_installer_deps.cmake b/cmake/macos_installer_deps.cmake new file mode 100644 index 000000000..e86e11e8d --- /dev/null +++ b/cmake/macos_installer_deps.cmake @@ -0,0 +1,2 @@ +# macos specific cpack stuff goes here +set(CPACK_PRODUCTBUILD_RESOURCES_DIR ${CMAKE_SOURCE_DIR}/osx-setup/resources)