aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackBoosY <47264268+JackBoosY@users.noreply.github.com>2019-06-26 02:02:43 +0800
committerPhil Christensen <philc@microsoft.com>2019-06-25 11:02:43 -0700
commitb9764f8d89b4713fad3ff4573f2b7504ae79a771 (patch)
treefbc18f6577c83dd571e9a8efeaba3a2d50427c15
parent728c767817d594d6043a305e254048d43da33e75 (diff)
downloadvcpkg-b9764f8d89b4713fad3ff4573f2b7504ae79a771.tar.gz
vcpkg-b9764f8d89b4713fad3ff4573f2b7504ae79a771.zip
[qt5-base]Add execute permission when installing executables in Linux. (#7019)
-rw-r--r--ports/qt5-base/CONTROL2
-rw-r--r--ports/qt5-base/portfile.cmake4
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/qt5-base/CONTROL b/ports/qt5-base/CONTROL
index 0082dc46c..562a9cc9d 100644
--- a/ports/qt5-base/CONTROL
+++ b/ports/qt5-base/CONTROL
@@ -1,5 +1,5 @@
Source: qt5-base
-Version: 5.12.3-1
+Version: 5.12.3-2
Homepage: https://www.qt.io/
Description: Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre2, harfbuzz, sqlite3, libpq, double-conversion, openssl
diff --git a/ports/qt5-base/portfile.cmake b/ports/qt5-base/portfile.cmake
index 6020376ba..a57411562 100644
--- a/ports/qt5-base/portfile.cmake
+++ b/ports/qt5-base/portfile.cmake
@@ -153,7 +153,9 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake)
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(GLOB BINARY_TOOLS "${CURRENT_PACKAGES_DIR}/bin/*")
list(FILTER BINARY_TOOLS EXCLUDE REGEX "\\.dll\$")
- file(INSTALL ${BINARY_TOOLS} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/qt5)
+ file(INSTALL ${BINARY_TOOLS}
+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
+ DESTINATION ${CURRENT_PACKAGES_DIR}/tools/qt5)
file(REMOVE ${BINARY_TOOLS})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/qt_release.conf DESTINATION ${CURRENT_PACKAGES_DIR}/tools/qt5)