X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=raylib%2Fexternal%2Fglfw%2FCMake%2Fmodules%2FFindWaylandProtocols.cmake;fp=raylib%2Fexternal%2Fglfw%2FCMake%2Fmodules%2FFindWaylandProtocols.cmake;h=0000000000000000000000000000000000000000;hb=b35d6ddfe9f220ab4f6e36fee1371a99a4a71ab5;hp=8eb83f27ef88575f80a56198bd2635580452a914;hpb=47ad4679e4625ff34239ee796b78b89b8455bb71;p=pistorm diff --git a/raylib/external/glfw/CMake/modules/FindWaylandProtocols.cmake b/raylib/external/glfw/CMake/modules/FindWaylandProtocols.cmake deleted file mode 100644 index 8eb83f2..0000000 --- a/raylib/external/glfw/CMake/modules/FindWaylandProtocols.cmake +++ /dev/null @@ -1,26 +0,0 @@ -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})