Re-enable kwayland with Qt 6
This commit is contained in:
parent
5ff43f9c51
commit
04de294533
2 changed files with 8 additions and 2 deletions
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
|
|
@ -43,7 +43,7 @@ if (LINUX)
|
|||
add_checked_subdirectory(jemalloc)
|
||||
endif()
|
||||
add_checked_subdirectory(jpeg)
|
||||
if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION AND NOT DESKTOP_APP_QT6)
|
||||
if (LINUX AND NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION)
|
||||
add_checked_subdirectory(kwayland)
|
||||
endif()
|
||||
add_checked_subdirectory(lz4)
|
||||
|
|
|
|||
8
external/kwayland/CMakeLists.txt
vendored
8
external/kwayland/CMakeLists.txt
vendored
|
|
@ -25,11 +25,17 @@ else()
|
|||
/usr/local/include/KF5/KWayland/Client
|
||||
)
|
||||
|
||||
if (DESKTOP_APP_QT6)
|
||||
set(qtconcurrent_loc ${qt_loc}/lib/libQt6Concurrent.a)
|
||||
else()
|
||||
set(qtconcurrent_loc ${qt_loc}/lib/libQt5Concurrent.a)
|
||||
endif()
|
||||
|
||||
target_link_libraries(external_kwayland
|
||||
INTERFACE
|
||||
desktop-app::linux_wayland_helper
|
||||
$<TARGET_FILE:desktop-app::linux_wayland_helper>
|
||||
${qt_loc}/lib/libQt5Concurrent.a
|
||||
${qtconcurrent_loc}
|
||||
desktop-app::external_qt
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue