aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qtbase/config_install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qtbase/config_install.patch')
-rw-r--r--vcpkg/ports/qtbase/config_install.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/qtbase/config_install.patch b/vcpkg/ports/qtbase/config_install.patch
new file mode 100644
index 0000000..fdfc703
--- /dev/null
+++ b/vcpkg/ports/qtbase/config_install.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/QtBuildPathsHelpers.cmake b/cmake/QtBuildPathsHelpers.cmake
+index bd186c28b..edee52e8b 100644
+--- a/cmake/QtBuildPathsHelpers.cmake
++++ b/cmake/QtBuildPathsHelpers.cmake
+@@ -100,7 +100,7 @@ function(qt_internal_set_up_global_paths)
+ if(QT_CONFIG_INSTALL_DIR)
+ string(APPEND QT_CONFIG_INSTALL_DIR "/")
+ endif()
+- string(APPEND QT_CONFIG_INSTALL_DIR ${__config_path_part})
++ string(APPEND QT_CONFIG_INSTALL_DIR "share")
+
+ set(QT_BUILD_DIR "${QT_BUILD_DIR}" PARENT_SCOPE)
+ set(QT_INSTALL_DIR "${QT_INSTALL_DIR}" PARENT_SCOPE)