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