Fix build with glib but not freetype

This commit is contained in:
Behdad Esfahbod 2011-08-02 13:44:24 -04:00
parent c21be799da
commit 4f052b93c0
1 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,6 @@ TEST_PROGS = \
test-buffer \
test-common \
test-font \
test-object \
test-shape \
test-unicode \
test-version \
@ -45,13 +44,13 @@ endif
if HAVE_FREETYPE
test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
# TODO replace freetype with other stuff in the following test
TEST_PROGS += test-object
test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
test_object_LDADD = $(LDADD) $(FREETYPE_LIBS)
TEST_PROGS += \
test-shape-complex \
$(NULL)
TEST_PROGS += test-shape-complex
test_shape_complex_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
test_shape_complex_LDADD = $(LDADD) $(FREETYPE_LIBS)
endif