10 lines
218 B
CMake
10 lines
218 B
CMake
include(FetchContent)
|
|
FetchContent_Declare(SDL
|
|
GIT_REPOSITORY https://github.com/libsdl-org/SDL.git
|
|
GIT_TAG release-3.2.20
|
|
GIT_SHALLOW ON
|
|
EXCLUDE_FROM_ALL
|
|
SYSTEM)
|
|
|
|
FetchContent_MakeAvailable(SDL)
|