Fix build with glib but not freetype
This commit is contained in:
parent
c21be799da
commit
4f052b93c0
|
@ -20,7 +20,6 @@ TEST_PROGS = \
|
||||||
test-buffer \
|
test-buffer \
|
||||||
test-common \
|
test-common \
|
||||||
test-font \
|
test-font \
|
||||||
test-object \
|
|
||||||
test-shape \
|
test-shape \
|
||||||
test-unicode \
|
test-unicode \
|
||||||
test-version \
|
test-version \
|
||||||
|
@ -45,13 +44,13 @@ endif
|
||||||
if HAVE_FREETYPE
|
if HAVE_FREETYPE
|
||||||
test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
|
test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
|
||||||
test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
|
test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
|
||||||
|
|
||||||
# TODO replace freetype with other stuff in the following test
|
# TODO replace freetype with other stuff in the following test
|
||||||
|
TEST_PROGS += test-object
|
||||||
test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
|
test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
|
||||||
test_object_LDADD = $(LDADD) $(FREETYPE_LIBS)
|
test_object_LDADD = $(LDADD) $(FREETYPE_LIBS)
|
||||||
|
|
||||||
TEST_PROGS += \
|
TEST_PROGS += test-shape-complex
|
||||||
test-shape-complex \
|
|
||||||
$(NULL)
|
|
||||||
test_shape_complex_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
|
test_shape_complex_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
|
||||||
test_shape_complex_LDADD = $(LDADD) $(FREETYPE_LIBS)
|
test_shape_complex_LDADD = $(LDADD) $(FREETYPE_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue