[tgui] Ensures correct option when using SDL3 (#44715)

This commit is contained in:
ytnuf 2025-04-07 20:36:28 +01:00 committed by GitHub
parent 8837f3945a
commit ce822584fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 3 deletions

View File

@ -35,12 +35,14 @@ string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" TGUI_USE_STATIC_STD_LIBS)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
sdl2 TGUI_HAS_BACKEND_SDL_RENDERER
sfml TGUI_HAS_BACKEND_SFML_GRAPHICS
tool TGUI_BUILD_GUI_BUILDER
sdl3 TGUI_USE_SDL3
raylib TGUI_HAS_BACKEND_RAYLIB
)
if(FEATURES MATCHES "sdl")
list(APPEND FEATURE_OPTIONS "TGUI_HAS_BACKEND_SDL_RENDERER")
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"

View File

@ -1,7 +1,7 @@
{
"name": "tgui",
"version": "1.8.0",
"port-version": 1,
"port-version": 2,
"description": "TGUI is an easy to use, cross-platform, C++ GUI for SFML.",
"homepage": "https://tgui.eu",
"license": "Zlib",

View File

@ -9194,7 +9194,7 @@
},
"tgui": {
"baseline": "1.8.0",
"port-version": 1
"port-version": 2
},
"think-cell-range": {
"baseline": "2023.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6d8b007bcf373e582893d6782c4520ece348b58a",
"version": "1.8.0",
"port-version": 2
},
{
"git-tree": "c6390a7307153b8fc26cc25e685d298f65424fec",
"version": "1.8.0",