mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2025-10-29 11:36:04 +00:00
CMakeLists: just search for the wayland-scanner binary
This commit is contained in:
parent
8e5ca2a299
commit
2425e8f541
@ -86,7 +86,7 @@ target_link_libraries(
|
||||
PkgConfig::deps)
|
||||
|
||||
# protocols
|
||||
pkg_get_variable(WaylandScanner wayland-scanner wayland_scanner)
|
||||
find_program(WaylandScanner NAMES wayland-scanner)
|
||||
message(STATUS "Found WaylandScanner at ${WaylandScanner}")
|
||||
pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
|
||||
message(STATUS "Found wayland-protocols at ${WAYLAND_PROTOCOLS_DIR}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user