aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-08-16 10:34:03 +0200
committerEike Ziller <eike.ziller@qt.io>2021-08-16 09:45:54 +0000
commit02b5d5a7105f63b8ec941de593b104aef0190606 (patch)
treea6e7485ea6deb457ad7636b3f3dcc60d523a5e92
parent10e6cce7af8da2e8cba4eddc08007d0e69d84324 (diff)
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 <ABBAPOH@gmail.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)