summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-09-14 08:41:48 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-14 08:48:13 +0200
commitdfaf374a3d8d34b9aa90bfc4c5e074f9fd8b9981 (patch)
tree138f3e52931e1c783a2494222f38a06eefa9e40d
parent614252bcba29e5ac4909869b5dac00aee2dec778 (diff)
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 <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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
)