Hooked up dynamic loading for Mir.

This commit is contained in:
Ryan C. Gordon 2014-02-03 11:52:54 -05:00
parent 1e8a90f615
commit 5704cde18b
14 changed files with 554 additions and 182 deletions

View file

@ -506,6 +506,7 @@ macro(CheckX11)
endmacro(CheckX11)
macro(CheckMir)
# !!! FIXME: hook up dynamic loading here.
if(VIDEO_MIR)
find_library(MIR_LIB mirclient mircommon egl)
pkg_check_modules(MIR_TOOLKIT mirclient mircommon)
@ -529,6 +530,7 @@ endmacro(CheckMir)
# Requires:
# - EGL
macro(CheckWayland)
# !!! FIXME: hook up dynamic loading here.
if(VIDEO_WAYLAND)
pkg_check_modules(WAYLAND wayland-client wayland-cursor wayland-egl egl xkbcommon)
if(WAYLAND_FOUND)