summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2020-11-30 10:01:51 +0100
committerChristophe Giboudeaux <christophe@krop.fr>2020-11-30 16:16:21 +0000
commit687bd03d09b42faad4c8790c9508518c3d14b456 (patch)
treeb55276e0bd2baa08504df9d89ab0f0c1a7d4cd1b /cmake
parent908ee750edea5ed9715536d38991599f82607053 (diff)
CMake: strip the executable bit from qt-cmake-private-install.cmake
Despite being installed in the the binary directory, this CMake snippet cannot be executed. Pick-to: 6.0 Change-Id: Ibfd31e51184f0688d19ac063804cc200c95555a7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtWrapperScriptHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtWrapperScriptHelpers.cmake b/cmake/QtWrapperScriptHelpers.cmake
index 63cb770131..803ed676ad 100644
--- a/cmake/QtWrapperScriptHelpers.cmake
+++ b/cmake/QtWrapperScriptHelpers.cmake
@@ -121,7 +121,7 @@ function(qt_internal_create_wrapper_scripts)
endif()
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/bin/${__qt_cmake_install_script_name}.in"
"${QT_BUILD_DIR}/${INSTALL_BINDIR}/${__qt_cmake_install_script_name}" @ONLY)
- qt_install(PROGRAMS "${QT_BUILD_DIR}/${INSTALL_BINDIR}/${__qt_cmake_install_script_name}"
+ qt_install(FILES "${QT_BUILD_DIR}/${INSTALL_BINDIR}/${__qt_cmake_install_script_name}"
DESTINATION "${INSTALL_BINDIR}")
qt_internal_create_qt_configure_tests_wrapper_script()