summaryrefslogtreecommitdiff
path: root/tests/gdimageflip/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gdimageflip/CMakeLists.txt')
-rw-r--r--tests/gdimageflip/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gdimageflip/CMakeLists.txt b/tests/gdimageflip/CMakeLists.txt
index 39caf08..c532f01 100644
--- a/tests/gdimageflip/CMakeLists.txt
+++ b/tests/gdimageflip/CMakeLists.txt
@@ -1,5 +1,7 @@
+IF(PNG_FOUND)
LIST(APPEND TESTS_FILES
gdimageflip
)
+ENDIF(PNG_FOUND)
ADD_GD_TESTS()