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 e0c0feb1d8
.
Task-number: QTBUG-106610
Change-Id: I70bfc9576b1feb06c5d69c5f4921a8f83723c753
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
514027f43f
commit
f14b8c8294
2
src/3rdparty/gradle/CMakeLists.txt
vendored
2
src/3rdparty/gradle/CMakeLists.txt
vendored
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user