summaryrefslogtreecommitdiff
path: root/libgphoto2_port/test/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2_port/test/Makefile.am')
-rw-r--r--libgphoto2_port/test/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgphoto2_port/test/Makefile.am b/libgphoto2_port/test/Makefile.am
index aca1c5305..99e489ce3 100644
--- a/libgphoto2_port/test/Makefile.am
+++ b/libgphoto2_port/test/Makefile.am
@@ -13,6 +13,8 @@ INSTALL_TESTS_ENVIRONMENT = env \
IOLIBS="$(DESTDIR)$(iolibdir)" \
LD_LIBRARY_PATH="$(DESTDIR)$(libdir)$${LD_LIBRARY_PATH+:$${LD_LIBRARY_PATH}}"
+AM_CPPFLAGS += -I$(top_srcdir)
+
noinst_PROGRAMS += test-gp-port test-port-list
test_gp_port_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL) $(CPPFLAGS)
test_gp_port_SOURCE = test-gp-port.c