@@ -397,7 +397,7 @@ if(wxUSE_GUI)
|
||||
message(WARNING "opengl not found, wxGLCanvas won't be available")
|
||||
wx_option_force_value(wxUSE_OPENGL OFF)
|
||||
endif()
|
||||
if(UNIX AND NOT OpenGL_EGL_FOUND)
|
||||
if(UNIX AND (NOT WXGTK3 OR NOT OpenGL_EGL_FOUND))
|
||||
wx_option_force_value(wxUSE_GLCANVAS_EGL OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user