CMakeLists.txt
changeset 9717 45a632fd9d83
parent 9571 5e3a1adadfbb
child 9731 a8140c580b85
--- a/CMakeLists.txt	Sun Jun 07 20:00:20 2015 -0400
+++ b/CMakeLists.txt	Sun Jun 07 20:15:09 2015 -0400
@@ -216,6 +216,10 @@
   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)