Sha256: 706af7855811374a02067a28e25094c2be01b1a9dbac306fc24b4d628e259622

Contents?: true

Size: 915 Bytes

Versions: 21

Compression:

Stored size: 915 Bytes

Contents

find_package(PkgConfig)

pkg_check_modules(WaylandProtocols QUIET wayland-protocols>=${WaylandProtocols_FIND_VERSION})

execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=pkgdatadir wayland-protocols
                OUTPUT_VARIABLE WaylandProtocols_PKGDATADIR
                RESULT_VARIABLE _pkgconfig_failed)
if (_pkgconfig_failed)
    message(FATAL_ERROR "Missing wayland-protocols pkgdatadir")
endif()

string(REGEX REPLACE "[\r\n]" "" WaylandProtocols_PKGDATADIR "${WaylandProtocols_PKGDATADIR}")

find_package_handle_standard_args(WaylandProtocols
    FOUND_VAR
        WaylandProtocols_FOUND
    REQUIRED_VARS
        WaylandProtocols_PKGDATADIR
    VERSION_VAR
        WaylandProtocols_VERSION
    HANDLE_COMPONENTS
)

set(WAYLAND_PROTOCOLS_FOUND ${WaylandProtocols_FOUND})
set(WAYLAND_PROTOCOLS_PKGDATADIR ${WaylandProtocols_PKGDATADIR})
set(WAYLAND_PROTOCOLS_VERSION ${WaylandProtocols_VERSION})

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.4.4 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.4.3 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.4.2 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.4.1 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.4.0 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.3.2 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.3.1 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.3.0 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.6 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.5 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.4 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.3 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.2 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.1 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.2.0 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.1.4 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.1.3 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.1.2 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake
pixo-0.1.1 ext/pixo/ext/glfw/CMake/modules/FindWaylandProtocols.cmake