From 4b0c4c669c9d8dff7ce8d94effbb0994968805e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 7 Feb 2019 12:45:05 +0100 Subject: [PATCH] cmake: ensure the wayland-protocols package is available --- bar/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bar/CMakeLists.txt b/bar/CMakeLists.txt index f0e6ffa..e57442b 100644 --- a/bar/CMakeLists.txt +++ b/bar/CMakeLists.txt @@ -35,6 +35,7 @@ if (ENABLE_WAYLAND) set(${_deps} ${deps} PARENT_SCOPE) endfunction () + pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols) execute_process( COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=pkgdatadir wayland-protocols OUTPUT_VARIABLE WAYLAND_PROTOCOLS