mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-23 03:00:56 +00:00
14 lines
405 B
CMake
14 lines
405 B
CMake
|
CPMAddPackage(
|
||
|
NAME SDL2
|
||
|
VERSION 2.24.2
|
||
|
URL "https://github.com/libsdl-org/SDL/archive/refs/tags/release-2.24.2.zip"
|
||
|
EXCLUDE_FROM_ALL ON
|
||
|
OPTIONS
|
||
|
"BUILD_SHARED_LIBS ${SRB2_CONFIG_SHARED_INTERNAL_LIBRARIES}"
|
||
|
"SDL_SHARED ${SRB2_CONFIG_SHARED_INTERNAL_LIBRARIES}"
|
||
|
"SDL_STATIC ${NOT_SRB2_CONFIG_SHARED_INTERNAL_LIBRARIES}"
|
||
|
"SDL_TEST OFF"
|
||
|
"SDL2_DISABLE_SDL2MAIN ON"
|
||
|
"SDL2_DISABLE_INSTALL ON"
|
||
|
)
|