summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/libdimension/Makefile.am b/tests/libdimension/Makefile.am
index 3a0e15c..a3747d0 100644
--- a/tests/libdimension/Makefile.am
+++ b/tests/libdimension/Makefile.am
@@ -17,6 +17,8 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
###########################################################################
+INCLUDES = -I$(top_srcdir)/libdimension
+
check_PROGRAMS = error-test \
warning-test
TESTS = $(check_PROGRAMS)
@@ -25,7 +27,7 @@ XFAIL_TESTS = error-test
INCLUDES = -I$(top_srcdir)/libdimension
error_test_SOURCES = error.c
-error_test_LDADD = ../../libdimension/libdimension.la
+error_test_LDADD = $(top_srcdir)/libdimension/libdimension.la
warning_test_SOURCES = warning.c
-warning_test_LDADD = ../../libdimension/libdimension.la
+warning_test_LDADD = $(top_srcdir)/libdimension/libdimension.la