Skip to content

Commit

Permalink
Find wayland-client without ECM
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Oct 24, 2021
1 parent c2a17c5 commit 5984019
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions waylandshells/xdg-shell/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ PRIVATE
)

if (DESKTOP_APP_USE_PACKAGED)
find_package(Wayland COMPONENTS Client REQUIRED)
target_link_libraries(lib_waylandshells_xdg_shell
PRIVATE
Wayland::Client
)
find_package(PkgConfig REQUIRED)
pkg_check_modules(WAYLAND_CLIENT REQUIRED IMPORTED_TARGET wayland-client)
target_link_libraries(lib_waylandshells_xdg_shell PRIVATE PkgConfig::WAYLAND_CLIENT)
endif()

0 comments on commit 5984019

Please sign in to comment.