From a2291b252de1413a13db61b21863ae7aea0946f3 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Tue, 5 May 2020 14:38:39 +0900 Subject: [PATCH] Build: Add missing jpegtran-icc test dependency The jpegtran-icc test must run after the cjpeg-rgb-islow test, since the latter generates testout_rgb_islow.jpg. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c3ee49e..fe16d8e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1015,7 +1015,8 @@ foreach(libtype ${TEST_LIBTYPES}) DEPENDS djpeg-${libtype}-rgb-islow) add_bittest(jpegtran icc "-copy;all;-icc;${TESTIMAGES}/test2.icc" - testout_rgb_islow2.jpg testout_rgb_islow.jpg ${MD5_JPEG_RGB_ISLOW2}) + testout_rgb_islow2.jpg testout_rgb_islow.jpg + ${MD5_JPEG_RGB_ISLOW2} cjpeg-${libtype}-rgb-islow) if(NOT WITH_12BIT) # CC: RGB->RGB565 SAMP: fullsize IDCT: islow ENT: huff