CMakeLists.txt
changeset 8248 427d0a6f5af7
parent 8203 5c9ac454116e
child 8297 be2102f000d0
equal deleted inserted replaced
8247:fd220c4df418 8248:427d0a6f5af7
   989   endif(SDL_TIMERS)
   989   endif(SDL_TIMERS)
   990 
   990 
   991   if(SDL_FILESYSTEM)
   991   if(SDL_FILESYSTEM)
   992     set(SDL_FILESYSTEM_COCOA 1)
   992     set(SDL_FILESYSTEM_COCOA 1)
   993     file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/cocoa/*.m)
   993     file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/cocoa/*.m)
       
   994     set_source_files_properties(${FILESYSTEM_SOURCES} PROPERTIES LANGUAGE C)
   994     set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
   995     set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
   995     set(HAVE_SDL_FILESYSTEM TRUE)
   996     set(HAVE_SDL_FILESYSTEM TRUE)
   996   endif()
   997   endif()
   997 
   998 
   998   # Actually load the frameworks at the end so we don't duplicate include.
   999   # Actually load the frameworks at the end so we don't duplicate include.