Commit cfee4ec3 authored by Guido Gunther's avatar Guido Gunther

Fix build for weston3

parent d1574409
......@@ -35,13 +35,13 @@ PKG_CHECK_MODULES([GTK], [
])
PKG_CHECK_MODULES([NEW_WESTON], [
weston >= 1.12
libweston-1
weston >= 3
libweston-3
],
[AC_DEFINE([HAVE_NEW_WESTON],
[1],
[Using weston 1.12 or newer])],
[AC_MSG_WARN([Not using weston 1.12 or newer])]
[Using weston 3 or newer])],
[AC_MSG_WARN([Not using weston 3 or newer])]
)
GLIB_GSETTINGS
......
......@@ -24,7 +24,7 @@
#include "config.h"
#ifdef HAVE_NEW_WESTON
#include <libweston-1/compositor.h>
#include <libweston-3/compositor.h>
#else
#include <weston/compositor.h>
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment