summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-09-15 08:58:11 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-09-15 13:51:45 +0200
commitf14b8c829425f54521c3411633dc716490249d34 (patch)
treefb10dd0ee7308efa79dba7412db1a6f3d3d45ec8 /src/3rdparty
parent514027f43fa526103da548f86d647ac33e288474 (diff)
CMake: Don't set the executable bit for gradlew.bat
This Windows-only file should not be executable on Unix derivatives. And on Windows it doesn't matter whether we install PROGRAMS or FILES. This amends commit e0c0feb1d8e2c697cf8bd1741cb9c2ed150d3a54. Task-number: QTBUG-106610 Change-Id: I70bfc9576b1feb06c5d69c5f4921a8f83723c753 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/gradle/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/gradle/CMakeLists.txt b/src/3rdparty/gradle/CMakeLists.txt
index eabeff2669..f4cf02a90b 100644
--- a/src/3rdparty/gradle/CMakeLists.txt
+++ b/src/3rdparty/gradle/CMakeLists.txt
@@ -2,13 +2,13 @@ qt_path_join(destination ${QT_INSTALL_DIR} "src/3rdparty/gradle")
qt_copy_or_install(
PROGRAMS
gradlew
- gradlew.bat
DESTINATION
"${destination}"
)
qt_copy_or_install(
FILES
+ gradlew.bat
gradle.properties
DESTINATION
"${destination}"