summaryrefslogtreecommitdiffhomepage
path: root/src/external/glfw/CMake/modules
diff options
context:
space:
mode:
authorRay <[email protected]>2019-01-10 16:57:15 +0100
committerGitHub <[email protected]>2019-01-10 16:57:15 +0100
commit56173d7cf457413fd56e26967becc7c5054aa2cf (patch)
treef1428e583f4ed5ee8c7060c47da55e8ce0194882 /src/external/glfw/CMake/modules
parent6056a2a5cf2aa939a10e807e452ed43d4b67f1ce (diff)
parent93471b0a7c75fc675f27fc74dfda281eb8310a7a (diff)
downloadraylib-56173d7cf457413fd56e26967becc7c5054aa2cf.tar.gz
raylib-56173d7cf457413fd56e26967becc7c5054aa2cf.zip
Merge branch 'master' into window-visibility
Diffstat (limited to 'src/external/glfw/CMake/modules')
-rw-r--r--src/external/glfw/CMake/modules/FindMir.cmake34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/external/glfw/CMake/modules/FindMir.cmake b/src/external/glfw/CMake/modules/FindMir.cmake
deleted file mode 100644
index 2104df8a..00000000
--- a/src/external/glfw/CMake/modules/FindMir.cmake
+++ /dev/null
@@ -1,34 +0,0 @@
-# FindMir
-# -------
-# Finds the Mir library
-#
-# This will will define the following variables::
-#
-# MIR_FOUND - the system has Mir
-# MIR_INCLUDE_DIRS - the Mir include directory
-# MIR_LIBRARIES - the Mir libraries
-# MIR_DEFINITIONS - the Mir definitions
-
-
-find_package (PkgConfig)
-if(PKG_CONFIG_FOUND)
- pkg_check_modules (PC_MIR mirclient>=0.26.2 QUIET)
-
- find_path(MIR_INCLUDE_DIR NAMES mir_toolkit/mir_client_library.h
- PATHS ${PC_MIR_INCLUDE_DIRS})
-
- find_library(MIR_LIBRARY NAMES mirclient
- PATHS ${PC_MIR_LIBRARIES} ${PC_MIR_LIBRARY_DIRS})
-
- include (FindPackageHandleStandardArgs)
- find_package_handle_standard_args (MIR
- REQUIRED_VARS MIR_LIBRARY MIR_INCLUDE_DIR)
-
- if (MIR_FOUND)
- set(MIR_LIBRARIES ${MIR_LIBRARY})
- set(MIR_INCLUDE_DIRS ${PC_MIR_INCLUDE_DIRS})
- set(MIR_DEFINITIONS -DHAVE_MIR=1)
- endif()
-
- mark_as_advanced (MIR_LIBRARY MIR_INCLUDE_DIR)
-endif()