From f14b8c829425f54521c3411633dc716490249d34 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 15 Sep 2022 08:58:11 +0200 Subject: [PATCH] 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 --- src/3rdparty/gradle/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"