Use OPTIONAL_COMPONENTS and QUIET
This commit is contained in:
parent
2acd52d39a
commit
f0150997cb
1 changed files with 2 additions and 2 deletions
4
external/qt/package.cmake
vendored
4
external/qt/package.cmake
vendored
|
|
@ -25,7 +25,7 @@ find_package(Qt5Gui COMPONENTS QWebpPlugin REQUIRED)
|
|||
|
||||
if (LINUX)
|
||||
find_package(Qt5 COMPONENTS WaylandClient REQUIRED)
|
||||
find_package(Qt5 COMPONENTS XkbCommonSupport)
|
||||
find_package(Qt5 OPTIONAL_COMPONENTS XkbCommonSupport QUIET)
|
||||
|
||||
if (NOT DESKTOP_APP_USE_PACKAGED)
|
||||
find_package(Qt5 COMPONENTS Svg X11Extras REQUIRED)
|
||||
|
|
@ -38,7 +38,7 @@ if (LINUX)
|
|||
endif()
|
||||
|
||||
if (DESKTOP_APP_DISABLE_DBUS_INTEGRATION)
|
||||
find_package(Qt5 COMPONENTS DBus)
|
||||
find_package(Qt5 OPTIONAL_COMPONENTS DBus QUIET)
|
||||
else()
|
||||
find_package(Qt5 COMPONENTS DBus REQUIRED)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue