diff options
| author | Linus Jahn <lnj@kaidan.im> | 2020-07-10 15:41:26 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2020-07-10 15:41:26 +0200 |
| commit | 469a3a913d99d7c190cf99ca8e3d2d72f6c8f8c2 (patch) | |
| tree | 0de5c947983389b5ee1de9bfee032f3c666473e3 /CMakeLists.txt | |
| parent | 8d6f865a9e312d3b4f686ff99af6e7fe9e8c5b13 (diff) | |
| download | qxmpp-469a3a913d99d7c190cf99ca8e3d2d72f6c8f8c2.tar.gz | |
CMake: Hide Qt6 find errors
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2880f32f..6cc94db1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 11) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/modules") # prefer Qt6 -find_package(Qt6 COMPONENTS Core Network Xml) +find_package(Qt6 QUIET COMPONENTS Core Network Xml) if(NOT Qt6_FOUND) find_package(Qt5 5.7.0 REQUIRED COMPONENTS Core Network Xml) endif() |
