From 0f4ca7e1850a64c92634f57380079b43d31f39e2 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 8a2539362..60ba4b62d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,7 +236,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() include(CheckCXXCompilerFlag)