highgui: fixed build GTK2+OpenGL

This commit is contained in:
Maksim Shabunin 2019-05-23 15:58:49 +03:00
parent def8fa2248
commit dc28a1aba2

View File

@ -64,7 +64,7 @@ if(WITH_GTK AND NOT HAVE_QT)
if(WITH_OPENGL AND NOT HAVE_GTK3)
ocv_check_modules(GTKGLEXT gtkglext-1.0)
if(HAVE_GTKGLEXT)
ocv_append_build_options(GTKGLEXT GTHREAD)
ocv_append_build_options(HIGHGUI GTKGLEXT)
endif()
endif()
endif()