aboutsummaryrefslogtreecommitdiff
path: root/CMake/FindWaylandProtocols.cmake
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-07-11 00:20:31 +1200
committerScott Anderson <ascent12@hotmail.com>2017-07-11 00:28:56 +1200
commit924bf0f669cde20b414cd9f12e72750ca5fdbbaf (patch)
treeeedb833983f05b26f09236c7a9bd74d908d3a354 /CMake/FindWaylandProtocols.cmake
parent8189c64d7f07a756abf5a6189719f02b2f1af967 (diff)
Changed build system to meson
Diffstat (limited to 'CMake/FindWaylandProtocols.cmake')
-rw-r--r--CMake/FindWaylandProtocols.cmake39
1 files changed, 0 insertions, 39 deletions
diff --git a/CMake/FindWaylandProtocols.cmake b/CMake/FindWaylandProtocols.cmake
deleted file mode 100644
index 8a8129b5..00000000
--- a/CMake/FindWaylandProtocols.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-#.rst:
-# FindWaylandProtocols
-# -------
-#
-# Find wayland protocol description files
-#
-# Try to find wayland protocol files. The following values are defined
-#
-# ::
-#
-# WAYLANDPROTOCOLS_FOUND - True if wayland protocol files are available
-# WAYLANDPROTOCOLS_PATH - Path to wayland protocol files
-#
-#=============================================================================
-# Copyright (c) 2015 Jari Vetoniemi
-#
-# Distributed under the OSI-approved BSD License (the "License");
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-
-include(FeatureSummary)
-set_package_properties(WaylandProtocols PROPERTIES
- URL "https://cgit.freedesktop.org/wayland/wayland-protocols"
- DESCRIPTION "Wayland protocol development")
-
-unset(WAYLANDPROTOCOLS_PATH)
-
-find_package(PkgConfig)
-if (PKG_CONFIG_FOUND)
- execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=pkgdatadir wayland-protocols
- OUTPUT_VARIABLE WAYLANDPROTOCOLS_PATH OUTPUT_STRIP_TRAILING_WHITESPACE)
-endif ()
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(WaylandProtocols DEFAULT_MSG WAYLANDPROTOCOLS_PATH)
-mark_as_advanced(WAYLANDPROTOCOLS_PATH)