Skip to content

Commit

Permalink
CMakeLists: just search for the wayland-scanner binary
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva authored and fufexan committed Sep 1, 2024
1 parent 8e5ca2a commit 2425e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 2425e8f

Please sign in to comment.