CMakeLists.txt
changeset 7867 d9d50f52a686
parent 7803 97a1127629fb
child 7903 4d3e6191c807
equal deleted inserted replaced
7866:42da269b7977 7867:d9d50f52a686
   714     endif(LINUX)
   714     endif(LINUX)
   715   endif(SDL_POWER)
   715   endif(SDL_POWER)
   716 
   716 
   717   if(SDL_FILESYSTEM)
   717   if(SDL_FILESYSTEM)
   718     set(SDL_FILESYSTEM_UNIX 1)
   718     set(SDL_FILESYSTEM_UNIX 1)
   719     file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/unix/*.c)
   719     file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/unix/*.c)
   720     set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
   720     set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
   721     set(HAVE_SDL_FILESYSTEM TRUE)
   721     set(HAVE_SDL_FILESYSTEM TRUE)
   722   endif(SDL_FILESYSTEM)
   722   endif(SDL_FILESYSTEM)
   723 
   723 
   724   if(SDL_TIMERS)
   724   if(SDL_TIMERS)
   993     file(GLOB BWINDOW_SOURCES ${SDL2_SOURCE_DIR}/src/video/bwindow/*.c)
   993     file(GLOB BWINDOW_SOURCES ${SDL2_SOURCE_DIR}/src/video/bwindow/*.c)
   994     set(SOURCE_FILES ${SOURCE_FILES} ${BWINDOW_SOURCES})
   994     set(SOURCE_FILES ${SOURCE_FILES} ${BWINDOW_SOURCES})
   995     set(HAVE_SDL_VIDEO TRUE)
   995     set(HAVE_SDL_VIDEO TRUE)
   996 
   996 
   997     set(SDL_FILESYSTEM_BEOS 1)
   997     set(SDL_FILESYSTEM_BEOS 1)
   998     file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/beos/*.cc)
   998     file(GLOB FILESYSTEM_SOURCES ${SDL2_SOURCE_DIR}/src/filesystem/beos/*.cc)
   999     set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
   999     set(SOURCE_FILES ${SOURCE_FILES} ${FILESYSTEM_SOURCES})
  1000     set(HAVE_SDL_FILESYSTEM TRUE)
  1000     set(HAVE_SDL_FILESYSTEM TRUE)
  1001 
  1001 
  1002     if(VIDEO_OPENGL)
  1002     if(VIDEO_OPENGL)
  1003       # TODO: Use FIND_PACKAGE(OpenGL) instead
  1003       # TODO: Use FIND_PACKAGE(OpenGL) instead