Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #343 from jordan-woyak/disable-sdl-windows
Disable SDL input on Windows.
  • Loading branch information
shuffle2 committed May 22, 2014
2 parents 36d4874 + 635dbd0 commit dd41326
Show file tree
Hide file tree
Showing 145 changed files with 11 additions and 51,799 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Expand Up @@ -581,6 +581,7 @@ if(NOT ANDROID)
endif()
if(SDL2_FOUND)
message("Using shared SDL2")
add_definitions(-DHAVE_SDL=1)
include_directories(${SDL2_INCLUDE_DIR})
else(SDL2_FOUND)
# SDL2 not found, try SDL
Expand All @@ -589,12 +590,11 @@ if(NOT ANDROID)
endif()
if(SDL_FOUND)
message("Using shared SDL")
add_definitions(-DHAVE_SDL=1)
include_directories(${SDL_INCLUDE_DIR})
else(SDL_FOUND)
# TODO: Use the prebuilt one on Windows
message("Using static SDL from Externals")
include_directories(Externals/SDL/SDL Externals/SDL Externals/SDL/include)
add_subdirectory(Externals/SDL)
message("SDL NOT found, disabling SDL input")
add_definitions(-DHAVE_SDL=0)
endif(SDL_FOUND)
endif(SDL2_FOUND)
endif()
Expand Down
22 changes: 0 additions & 22 deletions Externals/SDL/CMakeLists.txt

This file was deleted.

2 changes: 0 additions & 2 deletions Externals/SDL/SDL/SDL.h

This file was deleted.

65 changes: 0 additions & 65 deletions Externals/SDL/SDL/SDL_config_bsd.h

This file was deleted.

0 comments on commit dd41326

Please sign in to comment.