cmake_modules/FindSDL_Extras.cmake
changeset 8347 716c05f19401
parent 7817 6cc558a69b58
--- a/cmake_modules/FindSDL_Extras.cmake	Sat Dec 29 22:50:10 2012 +0100
+++ b/cmake_modules/FindSDL_Extras.cmake	Sun Dec 30 02:43:24 2012 +0100
@@ -13,7 +13,7 @@
 
     if(sdlmixer_version GREATER "10209")
         message(STATUS "Mix_Init() is present")
-        set(pascal_flags "-dSDL_MIXER_NEWER" ${pascal_flags})
+        list(APPEND pascal_flags "-dSDL_MIXER_NEWER")
     endif()
 endif()
 
@@ -30,7 +30,7 @@
 
     if(sdlimage_version GREATER "010207")
         message(STATUS "IMG_Init() is present")
-        set(pascal_flags "-dSDL_IMAGE_NEWER" ${pascal_flags})
+        list(APPEND pascal_flags "-dSDL_IMAGE_NEWER")
     endif()
 endif()