--- a/cmake_modules/FindSDL_Extras.cmake Sun Dec 30 16:04:28 2012 +0200
+++ b/cmake_modules/FindSDL_Extras.cmake Mon Dec 31 12:12:23 2012 +0200
@@ -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()