Fixed some defaults in CMake project file.
Fixes not finding dlopen(), etc.
parent
6c072917e9
commit
d8988ea842
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue