diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-09-14 08:41:48 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-09-14 08:48:13 +0200 |
commit | dfaf374a3d8d34b9aa90bfc4c5e074f9fd8b9981 (patch) | |
tree | 138f3e52931e1c783a2494222f38a06eefa9e40d /CMakeLists.txt | |
parent | 614252bcba29e5ac4909869b5dac00aee2dec778 (diff) | |
download | qtwayland-dfaf374a3d8d34b9aa90bfc4c5e074f9fd8b9981.tar.gz |
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>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e72c5e1c..54d9b68e 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 ) |