diff options
Diffstat (limited to 'vcpkg/ports/qtbase/installed_dir.patch')
| -rw-r--r-- | vcpkg/ports/qtbase/installed_dir.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/qtbase/installed_dir.patch b/vcpkg/ports/qtbase/installed_dir.patch new file mode 100644 index 0000000..9186731 --- /dev/null +++ b/vcpkg/ports/qtbase/installed_dir.patch @@ -0,0 +1,15 @@ +diff --git a/cmake/qt.toolchain.cmake.in b/cmake/qt.toolchain.cmake.in
+index 6e37ae02..e7e84468 100644
+--- a/cmake/qt.toolchain.cmake.in
++++ b/cmake/qt.toolchain.cmake.in
+@@ -65,6 +65,10 @@ get_filename_component(QT_TOOLCHAIN_RELOCATABLE_INSTALL_PREFIX
+ # one level higher is what we're looking for.
+ get_filename_component(QT_TOOLCHAIN_RELOCATABLE_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE)
+
++get_filename_component(vcpkg_installed_dir
++ ${CMAKE_CURRENT_LIST_DIR}/../../../
++ ABSOLUTE)
++
+ # REROOT_PATH_ISSUE_MARKER
+ # There's a subdirectory check in cmake's cmFindCommon::RerootPaths() function, that doesn't handle
+ # the case of CMAKE_PREFIX_PATH == CMAKE_FIND_ROOT_PATH for a particular pair of entries.
|