mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
b6ca47e128
Ported sfml-pi DRM/KMS backend written by @mickelson Port co-authored by @substring Co-authored-by: Andrew Mickelson <andrew.mickelson@gmail.com> Co-authored-by: Gil Delescluse <frog2wah@gmail.com>
19 lines
389 B
CMake
19 lines
389 B
CMake
#
|
|
# Try to find GBM library and include path.
|
|
# Once done this will define
|
|
#
|
|
# GBM_FOUND
|
|
# GBM_INCLUDE_PATH
|
|
# GBM_LIBRARY
|
|
#
|
|
|
|
if(PKG_CONFIG_FOUND)
|
|
pkg_check_modules(PC_GBM gbm QUIET)
|
|
endif()
|
|
|
|
find_path(GBM_INCLUDE_DIR NAMES gbm.h)
|
|
find_library(GBM_LIBRARY NAMES gbm)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(GBM DEFAULT_MSG GBM_LIBRARY GBM_INCLUDE_DIR)
|