aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/patches
diff options
context:
space:
mode:
authorAlexander Neumann <30894796+Neumann-A@users.noreply.github.com>2020-04-06 23:03:16 +0200
committerGitHub <noreply@github.com>2020-04-06 14:03:16 -0700
commit359661a22705ca101a27680fbe4d4815414be64f (patch)
tree882adc7c26adb3eb25d620360457ac2e509983c7 /ports/qt5-base/patches
parent84ad06a2ae0f469744ae648c272145fcdda95c02 (diff)
downloadvcpkg-359661a22705ca101a27680fbe4d4815414be64f.tar.gz
vcpkg-359661a22705ca101a27680fbe4d4815414be64f.zip
[qt5-base] Fix EGL absolute path on Linux (#10641)
* - add patch to find the debug library - manually fix EGL path in Qt5GuiConfigExtras.cmake * bump control
Diffstat (limited to 'ports/qt5-base/patches')
-rw-r--r--ports/qt5-base/patches/Qt5GuiConfigExtras.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/qt5-base/patches/Qt5GuiConfigExtras.patch b/ports/qt5-base/patches/Qt5GuiConfigExtras.patch
new file mode 100644
index 000000000..0029f2aa5
--- /dev/null
+++ b/ports/qt5-base/patches/Qt5GuiConfigExtras.patch
@@ -0,0 +1,13 @@
+diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
+index 84dbbfebd..accb86e3f 100644
+--- a/src/gui/Qt5GuiConfigExtras.cmake.in
++++ b/src/gui/Qt5GuiConfigExtras.cmake.in
+@@ -148,6 +153,8 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
+ !!ENDIF
+ unset(Qt5Gui_${_cmake_lib_name}_LIBRARY CACHE)
+
++ find_library(Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG ${_lib}d ${_lib} NAMES_PER_DIR
++ PATHS \"${_qt5Gui_install_prefix}/debug/lib\" NO_DEFAULT_PATH)
+ find_library(Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG ${_lib}d
+ PATHS \"${LibDir}\"
+ !!IF !mac