Skip to content
Permalink
Browse files

CMake: Fixed build on Mac OS X.

  • Loading branch information
icculus committed Feb 24, 2014
1 parent 1084421 commit b814f23a21f01dd2015323c792ac433a10f3ed56
Showing with 1 addition and 0 deletions.
  1. +1 −0 CMakeLists.txt
@@ -991,6 +991,7 @@ elseif(APPLE)
if(SDL_FILESYSTEM)
set(SDL_FILESYSTEM_COCOA 1)
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/cocoa/*.m)
set_source_files_properties(${FILESYSTEM_SOURCES} PROPERTIES LANGUAGE C)
set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
set(HAVE_SDL_FILESYSTEM TRUE)
endif()

0 comments on commit b814f23

Please sign in to comment.