Blame SOURCES/qtbase-everywhere-src-5.12.1-qt5gui_cmake_isystem_includes.patch

7f3c19
diff -up qtbase-everywhere-src-5.12.1/src/gui/Qt5GuiConfigExtras.cmake.in.foo qtbase-everywhere-src-5.12.1/src/gui/Qt5GuiConfigExtras.cmake.in
7f3c19
--- qtbase-everywhere-src-5.12.1/src/gui/Qt5GuiConfigExtras.cmake.in.foo	2019-04-30 15:18:24.886346423 -0500
7f3c19
+++ qtbase-everywhere-src-5.12.1/src/gui/Qt5GuiConfigExtras.cmake.in	2019-04-30 15:19:48.303873296 -0500
7f3c19
@@ -66,8 +66,10 @@ unset(_GL_INCDIRS)
7f3c19
 # Don\'t check for existence of the "_qt5gui_OPENGL_INCLUDE_DIR" because it is
7f3c19
 # optional.
7f3c19
 
7f3c19
+if (NOT ${_qt5gui_OPENGL_INCLUDE_DIR} STREQUAL "/usr/include")
7f3c19
 list(APPEND Qt5Gui_INCLUDE_DIRS ${_qt5gui_OPENGL_INCLUDE_DIR})
7f3c19
 set_property(TARGET Qt5::Gui APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${_qt5gui_OPENGL_INCLUDE_DIR})
7f3c19
+endif()
7f3c19
 
7f3c19
 unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE)
7f3c19