Merge pull request #25883 from CrystalP/fix-slowscan
[xbmc.git] / cmake / modules / FindWaylandProtocolsWebOS.cmake
blob1358ad7737c5c7d24460ad5f78aa6970333f387d
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
13                                              REQUIRED)
15 include(FindPackageMessage)
16 find_package_message(WaylandProtocolsWebOS "Found WaylandProtocols-WebOS: ${WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR}" "[${WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR}]")
18 mark_as_advanced(WAYLANDPROTOCOLSWEBOS_PROTOCOLSDIR)