]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/Makefile.am
#includes based off of srcdir rather than builddir.
[simgear.git] / simgear / misc / Makefile.am
index b11191802215a5b35e8570886d7009478e1e0067..002ffab8b70c7abf0b6cb38c3705de6f8a41801f 100644 (file)
@@ -3,7 +3,7 @@ includedir = @includedir@/misc
 if HAVE_ZLIB
 ZLIB_INCL =
 else
-ZLIB_INCL = -I$(top_builddir)/src/zlib
+ZLIB_INCL = -I$(top_srcdir)/src/zlib
 endif
 
 lib_LIBRARIES = libsgmisc.a
@@ -26,4 +26,4 @@ libsgmisc_a_SOURCES = \
        texcoord.cxx \
        zfstream.cxx
 
-INCLUDES += -I$(top_builddir) $(ZLIB_INCL)
+INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)