forked from external/yambar
cmake: ensure the wayland-protocols package is available
This commit is contained in:
parent
a62c7e675c
commit
4b0c4c669c
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ if (ENABLE_WAYLAND)
|
||||||
set(${_deps} ${deps} PARENT_SCOPE)
|
set(${_deps} ${deps} PARENT_SCOPE)
|
||||||
endfunction ()
|
endfunction ()
|
||||||
|
|
||||||
|
pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=pkgdatadir wayland-protocols
|
COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=pkgdatadir wayland-protocols
|
||||||
OUTPUT_VARIABLE WAYLAND_PROTOCOLS
|
OUTPUT_VARIABLE WAYLAND_PROTOCOLS
|
||||||
|
|
Loading…
Add table
Reference in a new issue