linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / qt-5 / 5.12 / qtbase.patch.d / 0015-qtbase-tbd-frameworks.patch
blob8a5939978a6bde82f16a77a1f1eb2d507931cfc1
1 diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
2 index 84dbbfebd4..615bfed124 100644
3 --- a/src/gui/Qt5GuiConfigExtras.cmake.in
4 +++ b/src/gui/Qt5GuiConfigExtras.cmake.in
5 @@ -119,6 +119,10 @@ macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
6 if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
7 set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
8 endif()
9 + set(Qt5Gui_${_cmake_lib_name}_LIBRARY "${Qt5Gui_${_cmake_lib_name}_LIBRARY}/${_lib}.tbd")
10 + if (NOT EXISTS "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
11 + set(Qt5Gui_${_cmake_lib_name}_LIBRARY)
12 + endif()
13 !!ENDIF
14 if (NOT Qt5Gui_${_cmake_lib_name}_LIBRARY)
15 # The above find_library call doesn\'t work for finding