1 # FindWaylandProtocolsWebOS
2 # -------------------------
3 # Find wayland-protocol-webOS
5 # This will define the following variables::
7 # WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR - directory containing the additional webOS Wayland protocols
8 # from the webos-wayland-extensions package
10 find_path(WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR NAMES webos-shell.xml
11 PATH_SUFFIXES wayland-webos
12 HINTS ${DEPENDS_PATH}/share
15 include(FindPackageMessage)
16 find_package_message(WaylandProtocolsWebOS "Found WaylandProtocols-WebOS: ${WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR}" "[${WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR}]")
18 mark_as_advanced(WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR)