From acdb1eef51e6370d4b36c1b872d7c04bd7e95afc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= Date: Tue, 1 Jun 2021 00:38:49 +0000 Subject: [PATCH] Fix missing definition of HAVE_X11 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f68cfb532..450fe9aa1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)