Commit cfee4ec3 authored by Guido Gunther's avatar Guido Gunther
Browse files

Fix build for weston3

parent d1574409
...@@ -35,13 +35,13 @@ PKG_CHECK_MODULES([GTK], [ ...@@ -35,13 +35,13 @@ PKG_CHECK_MODULES([GTK], [
]) ])
PKG_CHECK_MODULES([NEW_WESTON], [ PKG_CHECK_MODULES([NEW_WESTON], [
weston >= 1.12 weston >= 3
libweston-1 libweston-3
], ],
[AC_DEFINE([HAVE_NEW_WESTON], [AC_DEFINE([HAVE_NEW_WESTON],
[1], [1],
[Using weston 1.12 or newer])], [Using weston 3 or newer])],
[AC_MSG_WARN([Not using weston 1.12 or newer])] [AC_MSG_WARN([Not using weston 3 or newer])]
) )
GLIB_GSETTINGS GLIB_GSETTINGS
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "config.h" #include "config.h"
#ifdef HAVE_NEW_WESTON #ifdef HAVE_NEW_WESTON
#include <libweston-1/compositor.h> #include <libweston-3/compositor.h>
#else #else
#include <weston/compositor.h> #include <weston/compositor.h>
#endif #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