From e0c0feb1d8e2c697cf8bd1741cb9c2ed150d3a54 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 14 Sep 2022 08:55:32 +0200 Subject: [PATCH] CMake: Fix executable bit of installed gradlew Fixes: QTBUG-106610 Change-Id: I878c09a43cd62d31136126861a1d11be1b7b8574 Reviewed-by: Alexandru Croitor --- src/3rdparty/gradle/CMakeLists.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/3rdparty/gradle/CMakeLists.txt b/src/3rdparty/gradle/CMakeLists.txt index 20c0181403..eabeff2669 100644 --- a/src/3rdparty/gradle/CMakeLists.txt +++ b/src/3rdparty/gradle/CMakeLists.txt @@ -1,11 +1,14 @@ -# special case begin -# special case skip regeneration - qt_path_join(destination ${QT_INSTALL_DIR} "src/3rdparty/gradle") qt_copy_or_install( - FILES + PROGRAMS gradlew gradlew.bat + DESTINATION + "${destination}" +) + +qt_copy_or_install( + FILES gradle.properties DESTINATION "${destination}" @@ -17,5 +20,3 @@ qt_copy_or_install( DESTINATION "${destination}" ) - -# special case end