From 2425e8f541525fa7409d9f26a8ffaf92a3767251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Sun, 1 Sep 2024 14:27:35 +0100 Subject: [PATCH] CMakeLists: just search for the wayland-scanner binary --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}")