Set CMake FetchContent GIT_TAG for SDL_ttf (#423)

This commit is contained in:
Wes Lord 2025-06-01 20:00:45 -07:00 committed by GitHub
parent 149833bdc0
commit 5eceb52abc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,7 @@ set_property(DIRECTORY "${sdl_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
FetchContent_Declare( FetchContent_Declare(
SDL_ttf SDL_ttf
GIT_REPOSITORY https://github.com/libsdl-org/SDL_ttf.git GIT_REPOSITORY https://github.com/libsdl-org/SDL_ttf.git
GIT_TAG main # Slightly risky to use main branch, but it's the only one available GIT_TAG release-3.2.2
GIT_SHALLOW TRUE GIT_SHALLOW TRUE
GIT_PROGRESS TRUE GIT_PROGRESS TRUE
) )
@ -38,7 +38,7 @@ set_property(DIRECTORY "${sdl_ttf_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
FetchContent_Declare( FetchContent_Declare(
SDL_image SDL_image
GIT_REPOSITORY "https://github.com/libsdl-org/SDL_image.git" GIT_REPOSITORY "https://github.com/libsdl-org/SDL_image.git"
GIT_TAG release-3.2.0 # Slightly risky to use main branch, but it's the only one available GIT_TAG release-3.2.0
GIT_SHALLOW TRUE GIT_SHALLOW TRUE
GIT_PROGRESS TRUE GIT_PROGRESS TRUE
) )