Skip to content

Commit

Permalink
Fix desktop-app::external_wayland_client in packaged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Jun 15, 2022
1 parent 1263bf7 commit 0623777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/wayland_client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_library(desktop-app::external_wayland_client ALIAS external_wayland_client)
if (DESKTOP_APP_USE_PACKAGED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(WAYLAND_CLIENT REQUIRED IMPORTED_TARGET wayland-client)
target_link_libraries(external_wayland_client PRIVATE PkgConfig::WAYLAND_CLIENT)
target_link_libraries(external_wayland_client INTERFACE PkgConfig::WAYLAND_CLIENT)
else()
target_link_libraries(external_wayland_client INTERFACE desktop-app::linux_wayland_helper)
endif()

0 comments on commit 0623777

Please sign in to comment.