mirror of https://github.com/microsoft/vcpkg.git
[tgui] Ensures correct option when using SDL3 (#44715)
This commit is contained in:
parent
8837f3945a
commit
ce822584fc
|
|
@ -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}"
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -9194,7 +9194,7 @@
|
|||
},
|
||||
"tgui": {
|
||||
"baseline": "1.8.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"think-cell-range": {
|
||||
"baseline": "2023.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6d8b007bcf373e582893d6782c4520ece348b58a",
|
||||
"version": "1.8.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "c6390a7307153b8fc26cc25e685d298f65424fec",
|
||||
"version": "1.8.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue