diff options
author | Tony-LunarG <tony@lunarg.com> | 2018-10-19 12:19:02 -0600 |
---|---|---|
committer | Tony Barbour <tony@lunarg.com> | 2018-10-22 10:02:00 -0600 |
commit | 24b038465fcfd68a0ffe95f5e4c5443c10fd91cc (patch) | |
tree | 24553fe5e7f60cd72cb4f41905283a270035fff7 /cmake | |
parent | fdd023c7431a97420410bd0fe42933ef61806f4c (diff) | |
download | vulkan-validation-layers-24b038465fcfd68a0ffe95f5e4c5443c10fd91cc.tar.gz |
repo: Remove MIR specific code
There are still references in scripts/common_codegen.py and
layers/vk_validation_error_messages.h that should be removed
once MIR is removed from the headers
Change-Id: I4b7111224bf42f582d955e45bcd55f09cc8b60c9
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindMir.cmake | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/cmake/FindMir.cmake b/cmake/FindMir.cmake deleted file mode 100644 index 3f1fb0b3e..000000000 --- a/cmake/FindMir.cmake +++ /dev/null @@ -1,37 +0,0 @@ -# Try to find Mir on a Unix system -# -# This will define: -# -# MIR_FOUND - System has Mir -# MIR_LIBRARIES - Link these to use Mir -# MIR_INCLUDE_DIR - Include directory for Mir -# MIR_DEFINITIONS - Compiler switches required for using Mir - -if (NOT WIN32) - - find_package (PkgConfig) - pkg_check_modules (PKG_MIR QUIET mirclient) - set(MIR_DEFINITIONS ${PKG_MIR_CFLAGS_OTHER}) - - find_path(MIR_INCLUDE_DIR - NAMES xkbcommon/xkbcommon.h - HINTS ${PC_XKBCOMMON_INCLUDE_DIR} ${PC_XKBCOMMON_INCLUDE_DIRS} - ) - - find_library(MIR_LIBRARY - NAMES mirclient - HINTS ${PKG_MIR_LIBRARIES} ${MIR_LIBRARY_DIRS} - ) - - set (MIR_INCLUDE_DIR ${PKG_MIR_INCLUDE_DIRS}) - set (MIR_LIBRARIES ${MIR_LIBRARY}) - - include (FindPackageHandleStandardArgs) - find_package_handle_standard_args (MIR DEFAULT_MSG - MIR_LIBRARIES - MIR_INCLUDE_DIR - ) - - mark_as_advanced (MIR_LIBRARIES MIR_INCLUDE_DIR) - -endif () |