CMakeLists.txt
changeset 7666 603fb699946c
parent 7525 e5ae3502a25e
child 7667 be1cc6f55840
equal deleted inserted replaced
7665:4c0a6cfe27a0 7666:603fb699946c
  1006   set(SOURCE_FILES ${SOURCE_FILES} ${HAPTIC_SOURCES})
  1006   set(SOURCE_FILES ${SOURCE_FILES} ${HAPTIC_SOURCES})
  1007 endif(NOT HAVE_SDL_HAPTIC)
  1007 endif(NOT HAVE_SDL_HAPTIC)
  1008 if(NOT HAVE_SDL_LOADSO)
  1008 if(NOT HAVE_SDL_LOADSO)
  1009   set(SDL_LOADSO_DISABLED 1)
  1009   set(SDL_LOADSO_DISABLED 1)
  1010   file(GLOB LOADSO_SOURCES ${SDL2_SOURCE_DIR}/src/loadso/dummy/*.c)
  1010   file(GLOB LOADSO_SOURCES ${SDL2_SOURCE_DIR}/src/loadso/dummy/*.c)
  1011   set(SOURCE_FILES ${SOURCE_FILES} ${JOYSTICK_SOURCES})
  1011   set(SOURCE_FILES ${SOURCE_FILES} ${LOADSO_SOURCES})
  1012 endif(NOT HAVE_SDL_LOADSO)
  1012 endif(NOT HAVE_SDL_LOADSO)
  1013 
  1013 
  1014 # We always need to have threads and timers around
  1014 # We always need to have threads and timers around
  1015 if(NOT HAVE_SDL_THREADS)
  1015 if(NOT HAVE_SDL_THREADS)
  1016   set(SDL_THREADS_DISABLED 1)
  1016   set(SDL_THREADS_DISABLED 1)