diff --git a/external/kwayland/CMakeLists.txt b/external/kwayland/CMakeLists.txt index bd0d88b..a6d9771 100644 --- a/external/kwayland/CMakeLists.txt +++ b/external/kwayland/CMakeLists.txt @@ -128,10 +128,7 @@ if (DESKTOP_APP_USE_PACKAGED) pkg_check_modules(WAYLAND_CLIENT REQUIRED IMPORTED_TARGET wayland-client) target_link_libraries(external_kwayland_bundled INTERFACE PkgConfig::WAYLAND_CLIENT) else() - target_link_libraries(external_kwayland_bundled - INTERFACE - $ - ) + target_link_libraries(external_kwayland_bundled INTERFACE desktop-app::linux_wayland_helper) endif() add_dependencies(external_kwayland_bundled kwayland-build) diff --git a/external/qt/CMakeLists.txt b/external/qt/CMakeLists.txt index a4b15d3..4569a4e 100644 --- a/external/qt/CMakeLists.txt +++ b/external/qt/CMakeLists.txt @@ -293,12 +293,12 @@ if (LINUX) if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) target_link_libraries(external_qt INTERFACE - $ + desktop-app::linux_wayland_helper ) endif() target_link_libraries(external_qt INTERFACE - $ + desktop-app::linux_xcb_helper fontconfig freetype xcb diff --git a/external/qt/qt6/CMakeLists.txt b/external/qt/qt6/CMakeLists.txt index b601f66..7d4b91b 100644 --- a/external/qt/qt6/CMakeLists.txt +++ b/external/qt/qt6/CMakeLists.txt @@ -268,12 +268,12 @@ if (LINUX) if (NOT DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION) target_link_libraries(external_qt INTERFACE - $ + desktop-app::linux_wayland_helper ) endif() target_link_libraries(external_qt INTERFACE - $ + desktop-app::linux_xcb_helper fontconfig freetype xcb diff --git a/linux_wayland_helper/CMakeLists.txt b/linux_wayland_helper/CMakeLists.txt index 8c8e281..c554e94 100644 --- a/linux_wayland_helper/CMakeLists.txt +++ b/linux_wayland_helper/CMakeLists.txt @@ -14,6 +14,6 @@ PRIVATE ) target_link_libraries(linux_wayland_helper -PUBLIC +PRIVATE desktop-app::external_gsl )