Fixed some defaults in CMake project file.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 20 Mar 2015 10:02:45 -0400
changeset 940893ba64cb5e16
parent 9407 83eab73048cd
child 9409 9df20f292907
Fixed some defaults in CMake project file.

Fixes not finding dlopen(), etc.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Thu Mar 19 23:54:35 2015 -0400
     1.2 +++ b/CMakeLists.txt	Fri Mar 20 10:02:45 2015 -0400
     1.3 @@ -213,6 +213,14 @@
     1.4    set(SDL_LOADSO_ENABLED_BY_DEFAULT OFF)
     1.5    set(SDL_CPUINFO_ENABLED_BY_DEFAULT OFF)
     1.6    set(DLOPEN_ENABLED_BY_DEFAULT OFF)
     1.7 +else()
     1.8 +  set(OPT_DEF_ASM TRUE)
     1.9 +  set(SDL_SHARED_ENABLED_BY_DEFAULT ON)
    1.10 +  set(SDL_ATOMIC_ENABLED_BY_DEFAULT ON)
    1.11 +  set(SDL_THREADS_ENABLED_BY_DEFAULT ON)
    1.12 +  set(SDL_LOADSO_ENABLED_BY_DEFAULT ON)
    1.13 +  set(SDL_CPUINFO_ENABLED_BY_DEFAULT ON)
    1.14 +  set(DLOPEN_ENABLED_BY_DEFAULT ON)
    1.15  endif()
    1.16  
    1.17  set(SDL_SUBSYSTEMS