1# Try to find Mir on a Unix system 2# 3# This will define: 4# 5# MIR_LIBRARIES - Link these to use Wayland 6# MIR_INCLUDE_DIR - Include directory for Wayland 7# 8# Copyright (c) 2014 Brandon Schaefer <brandon.schaefer@canonical.com> 9 10if (NOT WIN32) 11 12 find_package (PkgConfig) 13 pkg_check_modules (PKG_MIR QUIET mirclient) 14 15 set (MIR_INCLUDE_DIR ${PKG_MIR_INCLUDE_DIRS}) 16 set (MIR_LIBRARIES ${PKG_MIR_LIBRARIES}) 17 18endif () 19