Fix two build configure errors in tests (#616)
tests/webp/bug_double_free should depend on webp and jpeg. tests/gdimagesquaretocircle should depend on png.master
parent
c2a2947675
commit
aa90da2db1
|
@ -1,5 +1,7 @@
|
|||
if HAVE_LIBPNG
|
||||
libgd_test_programs += \
|
||||
gdimagesquaretocircle/gdimagesquaretocircle
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
gdimagesquaretocircle/CMakeLists.txt \
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
IF(WEBP_FOUND)
|
||||
LIST(APPEND TESTS_FILES
|
||||
bug00111
|
||||
bug_double_free
|
||||
gdImageWebpEx
|
||||
)
|
||||
IF(JPEG_FOUND)
|
||||
LIST(APPEND TESTS_FILES
|
||||
bug_double_free
|
||||
)
|
||||
ENDIF(JPEG_FOUND)
|
||||
ENDIF(WEBP_FOUND)
|
||||
|
||||
ADD_GD_TESTS()
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
if HAVE_LIBWEBP
|
||||
libgd_test_programs += \
|
||||
webp/bug00111 \
|
||||
webp/bug_double_free \
|
||||
webp/gdImageWebpEx
|
||||
if HAVE_LIBJPEG
|
||||
libgd_test_programs += \
|
||||
webp/bug_double_free
|
||||
endif
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
|
|
Loading…
Reference in New Issue