Don't depend on Qt::WaylandClient target when linking Wayland libraries
This commit is contained in:
parent
5cf73fe21b
commit
4b36e46448
1 changed files with 2 additions and 2 deletions
4
external/qt/CMakeLists.txt
vendored
4
external/qt/CMakeLists.txt
vendored
|
|
@ -196,7 +196,7 @@ else()
|
||||||
lib/${qt_lib_prefix}Qt${QT_VERSION_MAJOR}Core
|
lib/${qt_lib_prefix}Qt${QT_VERSION_MAJOR}Core
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if (TARGET Qt::WaylandClient)
|
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
|
||||||
list(PREPEND qt_libs
|
list(PREPEND qt_libs
|
||||||
plugins/platforms/${qt_lib_prefix}qwayland-generic
|
plugins/platforms/${qt_lib_prefix}qwayland-generic
|
||||||
plugins/platforms/${qt_lib_prefix}qwayland-egl
|
plugins/platforms/${qt_lib_prefix}qwayland-egl
|
||||||
|
|
@ -257,7 +257,7 @@ if (LINUX)
|
||||||
xcb-render-util
|
xcb-render-util
|
||||||
xcb-keysyms
|
xcb-keysyms
|
||||||
)
|
)
|
||||||
if (TARGET Qt::WaylandClient)
|
if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
|
||||||
target_link_libraries(external_qt
|
target_link_libraries(external_qt
|
||||||
INTERFACE
|
INTERFACE
|
||||||
desktop-app::linux_wayland_helper
|
desktop-app::linux_wayland_helper
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue