summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-03-08 16:56:32 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-03-08 16:56:32 +0900
commitc893b03eae110de434d236065513261bd6794deb (patch)
tree6016417e30b6a309e57286dcde101e597a988196 /examples
parent8619ed7298ee42baae6a068538389851018ac33e (diff)
downloadlibgd-c893b03eae110de434d236065513261bd6794deb.tar.gz
simplify code with LIST(APPEND ...)
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index c72fcf5..e31e67d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -9,19 +9,11 @@ SET(TESTS_FILES
)
if (JPEG_FOUND)
- SET(TESTS_FILES
- "${TESTS_FILES}"
- copyrotated
- flip
- )
+ LIST(APPEND TESTS_FILES copyrotated flip)
endif (JPEG_FOUND)
-
if (TIFF_FOUND)
- SET(TESTS_FILES
- "${TESTS_FILES}"
- tiffread
- )
+ LIST(APPEND TESTS_FILES tiffread)
endif (TIFF_FOUND)
FOREACH(test_name ${TESTS_FILES})