From 8526aac3f04df73d8fbeafb4e30ff54f366b0f9e Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 23 Oct 2014 15:04:08 +0200 Subject: [PATCH] X11 is a required dependency on Linux --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80ff8fb64..e381ca34a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,7 +235,8 @@ else( Qt5Core_DIR ) endif( Qt5Core_DIR ) if( BUILD_GUI AND UNIX AND NOT APPLE ) - find_package( X11 ) + macro_optional_find_package( X11 ) + macro_log_feature(X11_FOUND "X11" "The Xorg libraries" "http://www.x.org/wiki/" TRUE "" "Xorg libraries are used by libqnetwm to bring windows to front reliably") endif() # Check if we can use or need