aboutsummaryrefslogtreecommitdiff
path: root/CMake/FindGBM.cmake
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-07-11 20:15:28 -0400
committerGitHub <noreply@github.com>2017-07-11 20:15:28 -0400
commit85805da021006697c85489c3e30717c2b807441c (patch)
treeae4a0221b8747579314262b59ff01bec2a32d3b8 /CMake/FindGBM.cmake
parent8189c64d7f07a756abf5a6189719f02b2f1af967 (diff)
parente54b1eded4fc44e6f3d22af2f16d5e055dfd0045 (diff)
Merge pull request #27 from ascent12/meson
[Proposal] Use the Meson build system
Diffstat (limited to 'CMake/FindGBM.cmake')
-rw-r--r--CMake/FindGBM.cmake39
1 files changed, 0 insertions, 39 deletions
diff --git a/CMake/FindGBM.cmake b/CMake/FindGBM.cmake
deleted file mode 100644
index 85df1f7c..00000000
--- a/CMake/FindGBM.cmake
+++ /dev/null
@@ -1,39 +0,0 @@
-#.rst:
-# FindGBM
-# -------
-#
-# Find GBM library
-#
-# Try to find GBM library on UNIX systems. The following values are defined
-#
-# ::
-#
-# GBM_FOUND - True if gbm is available
-# GBM_INCLUDE_DIRS - Include directories for gbm
-# GBM_LIBRARIES - List of libraries for gbm
-# GBM_DEFINITIONS - List of definitions for gbm
-#
-#=============================================================================
-# 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.
-#=============================================================================
-
-set_package_properties(GBM PROPERTIES
- URL "http://www.mesa3d.org/"
- DESCRIPTION "Generic buffer manager")
-
-find_package(PkgConfig)
-pkg_check_modules(PC_GBM QUIET gbm)
-find_library(GBM_LIBRARIES NAMES gbm HINTS ${PC_GBM_LIBRARY_DIRS})
-find_path(GBM_INCLUDE_DIRS gbm.h HINTS ${PC_GBM_INCLUDE_DIRS})
-
-set(GBM_DEFINITIONS ${PC_GBM_CFLAGS_OTHER})
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(GBM DEFAULT_MSG GBM_INCLUDE_DIRS GBM_LIBRARIES)
-mark_as_advanced(GBM_INCLUDE_DIRS GBM_LIBRARIES GBM_DEFINITIONS)