Skip to content
Permalink
Browse files

Fixed bug 2061 - SDL_filesystem API not built using cmake

Marcus von Appen

The SDL_filesystem API does not get built properly on Unix and BeOS using cmake due to not including the correct C files.
  • Loading branch information
slouken committed Oct 21, 2013
1 parent deb8086 commit 6f76bc290aabf1832b7cd411b5b42e2696dca77c
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
@@ -716,7 +716,7 @@ if(UNIX AND NOT APPLE)

if(SDL_FILESYSTEM)
set(SDL_FILESYSTEM_UNIX 1)
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/unix/*.c)
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/unix/*.c)
set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
set(HAVE_SDL_FILESYSTEM TRUE)
endif(SDL_FILESYSTEM)
@@ -995,7 +995,7 @@ elseif(BEOS)
set(HAVE_SDL_VIDEO TRUE)

set(SDL_FILESYSTEM_BEOS 1)
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/beos/*.cc)
file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/beos/*.cc)
set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
set(HAVE_SDL_FILESYSTEM TRUE)

0 comments on commit 6f76bc2

Please sign in to comment.