aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libqcdm/tests')
-rw-r--r--libqcdm/tests/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/libqcdm/tests/Makefile.am b/libqcdm/tests/Makefile.am
index ca2839e4..322e016f 100644
--- a/libqcdm/tests/Makefile.am
+++ b/libqcdm/tests/Makefile.am
@@ -1,3 +1,5 @@
+if WITH_TESTS
+
INCLUDES = \
-I$(top_srcdir)/libqcdm/src \
-I$(top_srcdir)/src
@@ -21,14 +23,12 @@ test_qcdm_CPPFLAGS = $(MM_CFLAGS)
test_qcdm_LDADD = $(MM_LIBS)
-if STANDALONE
+if QCDM_STANDALONE
test_qcdm_LDADD += $(top_builddir)/src/libqcdm.la
else
test_qcdm_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la
endif
-if WITH_TESTS
-
check-local: test-qcdm
$(abs_builddir)/test-qcdm