Skip to content

Commit

Permalink
CMake: strip the executable bit from qt-cmake-private-install.cmake
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
krop committed Nov 30, 2020
1 parent 908ee75 commit 687bd03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file modified bin/qt-cmake-standalone-test.in
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion cmake/QtWrapperScriptHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 687bd03

Please sign in to comment.