Fixed some defaults in CMake project file.

Fixes not finding dlopen(), etc.
Ryan C. Gordon 2015-03-20 10:02:45 -04:00
parent 6c072917e9
commit d8988ea842
1 changed files with 8 additions and 0 deletions

View File

@ -213,6 +213,14 @@ if(EMSCRIPTEN)
set(SDL_LOADSO_ENABLED_BY_DEFAULT OFF)
set(SDL_CPUINFO_ENABLED_BY_DEFAULT OFF)
set(DLOPEN_ENABLED_BY_DEFAULT OFF)
else()
set(OPT_DEF_ASM TRUE)
set(SDL_SHARED_ENABLED_BY_DEFAULT ON)
set(SDL_ATOMIC_ENABLED_BY_DEFAULT ON)
set(SDL_THREADS_ENABLED_BY_DEFAULT ON)
set(SDL_LOADSO_ENABLED_BY_DEFAULT ON)
set(SDL_CPUINFO_ENABLED_BY_DEFAULT ON)
set(DLOPEN_ENABLED_BY_DEFAULT ON)
endif()
set(SDL_SUBSYSTEMS