summaryrefslogtreecommitdiff
path: root/tests/gdimagestringft
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-15 14:53:42 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-15 14:53:42 -0400
commitcad672775d530a59e4947fc0232954b05434aa82 (patch)
tree6a44d53378b4339b38adbe2871780953302d2191 /tests/gdimagestringft
parent93bd6d54282cbd46dd53c9404ea6a1f85e0051b9 (diff)
downloadlibgd-cad672775d530a59e4947fc0232954b05434aa82.tar.gz
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.
Diffstat (limited to 'tests/gdimagestringft')
-rw-r--r--tests/gdimagestringft/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gdimagestringft/CMakeLists.txt b/tests/gdimagestringft/CMakeLists.txt
index b2bbac1..a38613f 100644
--- a/tests/gdimagestringft/CMakeLists.txt
+++ b/tests/gdimagestringft/CMakeLists.txt
@@ -1,5 +1,7 @@
+IF(FREETYPE_FOUND)
SET(TESTS_FILES
gdimagestringft_bbox
)
+ENDIF(FREETYPE_FOUND)
ADD_GD_TESTS()