Problem is how mir installes its headers, which isn't the real issue. Its just atm, its looking for <mir_toolkit/mir_client_library.h> from /usr/include, which its in /usr/include/mirclient/mir_toolkit/mir_client_lilbrary.h.
So a fix is to ensure the sdl2.pc file includes the MIR_CFLAGS, only when its enabled.
Problem is how mir installes its headers, which isn't the real issue. Its just atm, its looking for <mir_toolkit/ mir_client_ library. h> from /usr/include, which its in /usr/include/ mirclient/ mir_toolkit/ mir_client_ lilbrary. h.
So a fix is to ensure the sdl2.pc file includes the MIR_CFLAGS, only when its enabled.
http:// paste.ubuntu. com/7270442/
Ill look into creating a patch to get this fixed ASAP.
Sorry!