summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-09-14 08:55:32 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-09-14 17:46:39 +0200
commite0c0feb1d8e2c697cf8bd1741cb9c2ed150d3a54 (patch)
tree76c6a51b59dac55e04c6341e9f524c89bf75e2f6 /src/3rdparty
parent6d10ecc699e541fa51c978120df40bb0e27bc361 (diff)
CMake: Fix executable bit of installed gradlew
Fixes: QTBUG-106610 Change-Id: I878c09a43cd62d31136126861a1d11be1b7b8574 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/gradle/CMakeLists.txt13
1 files 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