diff --git a/CMakeLists.txt b/CMakeLists.txt index 6baff8a0a..23c270fe3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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