CMake: default to shared library builds being enabled.
parent
d98cfe1435
commit
f5dce3c63c
|
@ -216,6 +216,10 @@ if(EMSCRIPTEN)
|
||||||
set(SDL_DLOPEN_ENABLED_BY_DEFAULT OFF)
|
set(SDL_DLOPEN_ENABLED_BY_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (NOT DEFINED SDL_SHARED_ENABLED_BY_DEFAULT)
|
||||||
|
set(SDL_SHARED_ENABLED_BY_DEFAULT ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(SDL_SUBSYSTEMS
|
set(SDL_SUBSYSTEMS
|
||||||
Atomic Audio Video Render Events Joystick Haptic Power Threads Timers
|
Atomic Audio Video Render Events Joystick Haptic Power Threads Timers
|
||||||
File Loadso CPUinfo Filesystem Dlopen)
|
File Loadso CPUinfo Filesystem Dlopen)
|
||||||
|
|
Loading…
Reference in New Issue