diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch')
-rw-r--r-- | recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch b/recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch index 1f990f24..0a641bb2 100644 --- a/recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch +++ b/recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 21bcae84788d1b14a754bc56a1adc43abf888e84 Mon Sep 17 00:00:00 2001 | 1 | From f5c88622ac10601e48a14f31d9299692a9ac62e2 Mon Sep 17 00:00:00 2001 |
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | 2 | From: Max Krummenacher <max.krummenacher@toradex.com> |
3 | Date: Sat, 27 Oct 2018 12:29:31 +0000 | 3 | Date: Sat, 27 Oct 2018 12:29:31 +0000 |
4 | Subject: [PATCH] Qt5GuiConfigExtras.cmake.in: cope with variable path to | 4 | Subject: [PATCH] Qt5GuiConfigExtras.cmake.in: cope with variable path to |
@@ -19,7 +19,7 @@ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | |||
19 | 1 file changed, 8 insertions(+), 14 deletions(-) | 19 | 1 file changed, 8 insertions(+), 14 deletions(-) |
20 | 20 | ||
21 | diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in | 21 | diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in |
22 | index 07869efd7d..671aa82167 100644 | 22 | index 84dbbfebd4..ad6956d814 100644 |
23 | --- a/src/gui/Qt5GuiConfigExtras.cmake.in | 23 | --- a/src/gui/Qt5GuiConfigExtras.cmake.in |
24 | +++ b/src/gui/Qt5GuiConfigExtras.cmake.in | 24 | +++ b/src/gui/Qt5GuiConfigExtras.cmake.in |
25 | @@ -75,21 +75,15 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE) | 25 | @@ -75,21 +75,15 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE) |
@@ -48,9 +48,9 @@ index 07869efd7d..671aa82167 100644 | |||
48 | -!!ENDIF | 48 | -!!ENDIF |
49 | + | 49 | + |
50 | foreach(_lib ${Libs}) | 50 | foreach(_lib ${Libs}) |
51 | string(REGEX REPLACE "[^_A-Za-z0-9]" "_" _cmake_lib_name ${_lib}) | 51 | if (IS_ABSOLUTE ${_lib}) |
52 | if (NOT TARGET Qt5::Gui_${_cmake_lib_name} AND NOT _Qt5Gui_${_cmake_lib_name}_LIBRARY_DONE) | 52 | get_filename_component(_libFile ${_lib} NAME_WE) |
53 | @@ -158,11 +152,11 @@ endmacro() | 53 | @@ -171,11 +165,11 @@ endmacro() |
54 | 54 | ||
55 | 55 | ||
56 | !!IF !isEmpty(CMAKE_EGL_LIBS) | 56 | !!IF !isEmpty(CMAKE_EGL_LIBS) |