Revert 179fe08842 partially
The WaylandClient package is required for cmake functions
This commit is contained in:
parent
179fe08842
commit
5b4917c75a
1 changed files with 4 additions and 0 deletions
4
external/qt/package.cmake
vendored
4
external/qt/package.cmake
vendored
|
|
@ -49,6 +49,10 @@ cmake_dependent_option(DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION "Disable all code
|
||||||
|
|
||||||
if (LINUX)
|
if (LINUX)
|
||||||
find_package(Qt${QT_VERSION_MAJOR} OPTIONAL_COMPONENTS DBus WaylandClient WaylandCompositor QUIET)
|
find_package(Qt${QT_VERSION_MAJOR} OPTIONAL_COMPONENTS DBus WaylandClient WaylandCompositor QUIET)
|
||||||
|
|
||||||
|
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
|
||||||
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS WaylandClient REQUIRED)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY AUTOGEN_SOURCE_GROUP "(gen)")
|
set_property(GLOBAL PROPERTY AUTOGEN_SOURCE_GROUP "(gen)")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue