Fix missing definition of HAVE_X11

This commit is contained in:
Ömer Fadıl Usta 2021-06-01 00:38:49 +00:00
parent 661c652e65
commit acdb1eef51

View File

@ -94,6 +94,8 @@ if(X11_FOUND AND XCB_XCB_FOUND)
find_package(Qt5 REQUIRED NO_MODULE COMPONENTS X11Extras)
#X11_Xrender discovery is done by FindX11
#add_feature_info("X Rendering Extension (libXrender)" X11_Xrender_FOUND "Support for compositing, rendering operations, and alpha-blending. STRONGLY RECOMMENDED")
else()
set(HAVE_X11 0)
endif()
find_package(OpenGL)