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 += \
|
libgd_test_programs += \
|
||||||
gdimagesquaretocircle/gdimagesquaretocircle
|
gdimagesquaretocircle/gdimagesquaretocircle
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
gdimagesquaretocircle/CMakeLists.txt \
|
gdimagesquaretocircle/CMakeLists.txt \
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
IF(WEBP_FOUND)
|
IF(WEBP_FOUND)
|
||||||
LIST(APPEND TESTS_FILES
|
LIST(APPEND TESTS_FILES
|
||||||
bug00111
|
bug00111
|
||||||
bug_double_free
|
|
||||||
gdImageWebpEx
|
gdImageWebpEx
|
||||||
)
|
)
|
||||||
|
IF(JPEG_FOUND)
|
||||||
|
LIST(APPEND TESTS_FILES
|
||||||
|
bug_double_free
|
||||||
|
)
|
||||||
|
ENDIF(JPEG_FOUND)
|
||||||
ENDIF(WEBP_FOUND)
|
ENDIF(WEBP_FOUND)
|
||||||
|
|
||||||
ADD_GD_TESTS()
|
ADD_GD_TESTS()
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
if HAVE_LIBWEBP
|
if HAVE_LIBWEBP
|
||||||
libgd_test_programs += \
|
libgd_test_programs += \
|
||||||
webp/bug00111 \
|
webp/bug00111 \
|
||||||
webp/bug_double_free \
|
|
||||||
webp/gdImageWebpEx
|
webp/gdImageWebpEx
|
||||||
|
if HAVE_LIBJPEG
|
||||||
|
libgd_test_programs += \
|
||||||
|
webp/bug_double_free
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
|
|
Loading…
Reference in New Issue