From dfaf374a3d8d34b9aa90bfc4c5e074f9fd8b9981 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 14 Sep 2020 08:41:48 +0200 Subject: Explicitly search for X11 This avoids some errors where cmake can't find X11 later on in the configuration process. Change-Id: Ic541daf1185190df4a3862f6f4348f01a3d2831c Reviewed-by: Joerg Bornemann --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e72c5e1c2..54d9b68e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ project(QtWayland # special case # TODO: Fix warnings and remove this set(QT_REPO_NOT_WARNINGS_CLEAN TRUE) +find_package(X11) find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals ) -- cgit v1.2.3