From 02b5d5a7105f63b8ec941de593b104aef0190606 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 16 Aug 2021 10:34:03 +0200 Subject: CMake build: Look for QtScript quietly If it is not found, the internal QtScript engine is used. So the warning that QtScript is not found is just noise, and always there when building with Qt 6. Change-Id: I364cd47724c7b8ca6abaf8d9a3566d91e434be38 Reviewed-by: Ivan Komissarov --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8680afad7..b12fc96b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ find_package(Qt${QT_VERSION_MAJOR} REQUIRED ) -find_package(Qt${QT_VERSION_MAJOR} OPTIONAL_COMPONENTS Script) +find_package(Qt${QT_VERSION_MAJOR} OPTIONAL_COMPONENTS Script QUIET) if (Qt6_FOUND) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core5Compat REQUIRED) -- cgit v1.2.3