From cad672775d530a59e4947fc0232954b05434aa82 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 15 Jun 2016 14:53:42 -0400 Subject: tests: cmake: move feature tests to subdirs This makes it better match the autotools which makes it easier to compare, and allows finer grain checks (since some subtests need more than one feature test). As an example, this makes it clear we were missing gdinterpolatedscale. --- tests/jpeg/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/jpeg') diff --git a/tests/jpeg/CMakeLists.txt b/tests/jpeg/CMakeLists.txt index d3d00b5..5effc8c 100644 --- a/tests/jpeg/CMakeLists.txt +++ b/tests/jpeg/CMakeLists.txt @@ -1,3 +1,4 @@ +IF(JPEG_FOUND) SET(TESTS_FILES jpeg_im2im jpeg_null @@ -6,5 +7,6 @@ SET(TESTS_FILES jpeg_resolution bug_github_18 ) +ENDIF(JPEG_FOUND) ADD_GD_TESTS() -- cgit v1.2.1