summaryrefslogtreecommitdiffstats
path: root/tests/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension')
-rw-r--r--tests/libdimension/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libdimension/Makefile.am b/tests/libdimension/Makefile.am
index 72f9427..9c6c8ad 100644
--- a/tests/libdimension/Makefile.am
+++ b/tests/libdimension/Makefile.am
@@ -29,6 +29,10 @@ check_PROGRAMS = error-test \
TESTS = $(check_PROGRAMS)
XFAIL_TESTS = error-test
+if !GL
+XFAIL_TESTS += gl-test
+endif
+
.PHONY: clean-local-png-test
clean-local: clean-local-png-test
@@ -40,6 +44,8 @@ else
libdimension_tests_la_LIBADD = $(top_builddir)/libdimension/libdimension.la
endif
+libdimension_tests_la_LIBADD += -lX11 -lGL
+
error_test_SOURCES = error.c
error_test_LDADD = libdimension-tests.la