diff --git a/CMakeLists.txt b/CMakeLists.txt index 3178cef..e70b494 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")