mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed some defaults in CMake project file.
Fixes not finding dlopen(), etc.
This commit is contained in:
parent
6c072917e9
commit
d8988ea842
@ -213,6 +213,14 @@ if(EMSCRIPTEN)
|
|||||||
set(SDL_LOADSO_ENABLED_BY_DEFAULT OFF)
|
set(SDL_LOADSO_ENABLED_BY_DEFAULT OFF)
|
||||||
set(SDL_CPUINFO_ENABLED_BY_DEFAULT OFF)
|
set(SDL_CPUINFO_ENABLED_BY_DEFAULT OFF)
|
||||||
set(DLOPEN_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()
|
endif()
|
||||||
|
|
||||||
set(SDL_SUBSYSTEMS
|
set(SDL_SUBSYSTEMS
|
||||||
|
Loading…
Reference in New Issue
Block a user