diff options
Diffstat (limited to 'find-modules/FindWayland.cmake')
-rw-r--r-- | find-modules/FindWayland.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/find-modules/FindWayland.cmake b/find-modules/FindWayland.cmake index 871fd91d..919b2aaa 100644 --- a/find-modules/FindWayland.cmake +++ b/find-modules/FindWayland.cmake @@ -32,6 +32,9 @@ # ``Wayland_DEFINITIONS`` # This should be passed to target_compile_options() if the targets are not # used for linking +# ``Wayland_DATADIR`` +# The core wayland protocols data directory +# Since 5.73.0 # # For each searched-for components, ``Wayland_<component>_FOUND`` will be set to # TRUE if the corresponding Wayland library was found, and FALSE otherwise. If @@ -115,6 +118,8 @@ find_package_handle_standard_args(Wayland HANDLE_COMPONENTS ) +pkg_get_variable(Wayland_DATADIR wayland-server pkgdatadir) + include(FeatureSummary) set_package_properties(Wayland PROPERTIES URL "https://wayland.freedesktop.org/" |