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

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