Skip to content

Commit

Permalink
CMake: default to shared library builds being enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 8, 2015
1 parent d98cfe1 commit f5dce3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -216,6 +216,10 @@ if(EMSCRIPTEN)
set(SDL_DLOPEN_ENABLED_BY_DEFAULT OFF)
endif()

if (NOT DEFINED SDL_SHARED_ENABLED_BY_DEFAULT)
set(SDL_SHARED_ENABLED_BY_DEFAULT ON)
endif()

set(SDL_SUBSYSTEMS
Atomic Audio Video Render Events Joystick Haptic Power Threads Timers
File Loadso CPUinfo Filesystem Dlopen)
Expand Down

0 comments on commit f5dce3c

Please sign in to comment.