Commits

Takeshi Abe committed c893b03

simplify code with LIST(APPEND ...)

Comments (0)

Files changed (1)

examples/CMakeLists.txt

 )
 
 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})