diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-08 16:56:32 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-08 16:56:32 +0900 |
commit | c893b03eae110de434d236065513261bd6794deb (patch) | |
tree | 6016417e30b6a309e57286dcde101e597a988196 /examples | |
parent | 8619ed7298ee42baae6a068538389851018ac33e (diff) | |
download | libgd-c893b03eae110de434d236065513261bd6794deb.tar.gz |
simplify code with LIST(APPEND ...)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 12 |
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}) |