mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +01:00
CMakeLists: just search for the wayland-scanner binary
This commit is contained in:
parent
8e5ca2a299
commit
2425e8f541
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ target_link_libraries(
|
||||||
PkgConfig::deps)
|
PkgConfig::deps)
|
||||||
|
|
||||||
# protocols
|
# protocols
|
||||||
pkg_get_variable(WaylandScanner wayland-scanner wayland_scanner)
|
find_program(WaylandScanner NAMES wayland-scanner)
|
||||||
message(STATUS "Found WaylandScanner at ${WaylandScanner}")
|
message(STATUS "Found WaylandScanner at ${WaylandScanner}")
|
||||||
pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
|
pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
|
||||||
message(STATUS "Found wayland-protocols at ${WAYLAND_PROTOCOLS_DIR}")
|
message(STATUS "Found wayland-protocols at ${WAYLAND_PROTOCOLS_DIR}")
|
||||||
|
|
Loading…
Reference in a new issue