diff options
author | Christophe Giboudeaux <christophe@krop.fr> | 2020-11-30 10:01:51 +0100 |
---|---|---|
committer | Christophe Giboudeaux <christophe@krop.fr> | 2020-11-30 16:16:21 +0000 |
commit | 687bd03d09b42faad4c8790c9508518c3d14b456 (patch) | |
tree | b55276e0bd2baa08504df9d89ab0f0c1a7d4cd1b | |
parent | 908ee750edea5ed9715536d38991599f82607053 (diff) | |
download | qtbase-687bd03d09b42faad4c8790c9508518c3d14b456.tar.gz |
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>
-rw-r--r--[-rwxr-xr-x] | bin/qt-cmake-standalone-test.in | 0 | ||||
-rw-r--r-- | cmake/QtWrapperScriptHelpers.cmake | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/bin/qt-cmake-standalone-test.in b/bin/qt-cmake-standalone-test.in index d13c3eee40..d13c3eee40 100755..100644 --- a/bin/qt-cmake-standalone-test.in +++ b/bin/qt-cmake-standalone-test.in 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() |