diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-01-18 18:03:38 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-01-18 18:20:33 -0800 |
commit | 404a356b2b22a134aea151145d1baabf253ee491 (patch) | |
tree | ecf3064d6587ec875d5c021d46d44855dc814212 /src/modules/ray | |
parent | 524db0cf19648e3c7c78d3e73103b7a0bdcd6bfc (diff) |
autotools: s#../../#@top_srcdir@/src#
The relative path broke out-of-tree builds.
Previously the following:
$ mkdir /tmp/foo
$ cd /tmp/foo
$ ~/src/rototiller/configure
$ make
Would fail to compile unable to locate the headers in
~/rototiller/src
This fixes it.
Diffstat (limited to 'src/modules/ray')
-rw-r--r-- | src/modules/ray/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ray/Makefile.am b/src/modules/ray/Makefile.am index a0b3fbb..6c9a50a 100644 --- a/src/modules/ray/Makefile.am +++ b/src/modules/ray/Makefile.am @@ -1,4 +1,4 @@ noinst_LIBRARIES = libray.a libray_a_SOURCES = ray_3f.h ray.c ray_camera.c ray_camera.h ray_color.h ray_euler.h ray.h ray_light_emitter.h ray_object.c ray_object.h ray_object_light.h ray_object_plane.h ray_object_point.h ray_object_sphere.h ray_object_type.h ray_ray.h ray_scene.c ray_scene.h ray_surface.h ray_threads.c ray_threads.h libray_a_CFLAGS = @ROTOTILLER_CFLAGS@ -ffast-math -libray_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I../../ +libray_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I@top_srcdir@/src |