diff --git a/cmake/Deploy.cmake b/cmake/Deploy.cmake index 6499ce85..10dee8d7 100644 --- a/cmake/Deploy.cmake +++ b/cmake/Deploy.cmake @@ -17,7 +17,7 @@ function(deploy TARGET) if(NOT APPIMAGETOOL_EXECUTABLE) message(STATUS "Could NOT find appimagetool, downloading...") set(APPIMAGETOOL_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/appimagetool) - set(APPIMAGETOOL_URL "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-${CMAKE_SYSTEM_PROCESSOR}.AppImage") + set(APPIMAGETOOL_URL "https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-${CMAKE_SYSTEM_PROCESSOR}.AppImage") file(DOWNLOAD ${APPIMAGETOOL_URL} ${APPIMAGETOOL_EXECUTABLE} SHOW_PROGRESS) file(CHMOD ${APPIMAGETOOL_EXECUTABLE} PERMISSIONS OWNER_READ OWNER_EXECUTE) endif() diff --git a/cmake/Setup.cmake b/cmake/Setup.cmake index cfbca63e..940ae0c4 100644 --- a/cmake/Setup.cmake +++ b/cmake/Setup.cmake @@ -19,6 +19,8 @@ endif() find_package(QT NAMES Qt6 REQUIRED Core) find_package(Qt${QT_VERSION_MAJOR} REQUIRED Core) +qt_standard_project_setup(REQUIRES 6.7.3 SUPPORTS_UP_TO 6.9.99) + add_compile_definitions(APP_NAME="${CMAKE_PROJECT_NAME}") add_compile_definitions(APP_VERSION="${CMAKE_PROJECT_VERSION}") add_compile_definitions(APP_URL="${CMAKE_PROJECT_HOMEPAGE_URL}")