From 58918f0201ba880f8680bfb83637cc21f36da940 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 12 May 2009 14:15:37 +0100 Subject: [PATCH] [build] Fix out-of-tree builds for Cogl Commit 43fa38fcf5 broke out-of-tree builds by removing some of the builddir directories from the include path. builddir/clutter/cogl and builddir/clutter are needed because cogl.h and cogl-defines-gl.h are automatically generated by the configure script. The main clutter headers are in the srcdir so this needs to be in the path too. --- gl/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gl/Makefile.am b/gl/Makefile.am index 64fb8cb78..4d360e63d 100644 --- a/gl/Makefile.am +++ b/gl/Makefile.am @@ -45,7 +45,9 @@ INCLUDES = \ -I$(top_srcdir)/clutter/cogl \ -I$(top_srcdir)/clutter/cogl/common \ -I$(top_srcdir)/clutter/cogl/$(CLUTTER_COGL) \ + -I$(top_srcdir)/clutter \ -I$(top_builddir)/clutter \ + -I$(top_builddir)/clutter/cogl \ -DG_LOG_DOMAIN=\"Cogl-GL\" \ -DCLUTTER_COMPILATION