diff --git a/ports/tgui/portfile.cmake b/ports/tgui/portfile.cmake index 15f83ed482..5439d2e03e 100644 --- a/ports/tgui/portfile.cmake +++ b/ports/tgui/portfile.cmake @@ -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}" diff --git a/ports/tgui/vcpkg.json b/ports/tgui/vcpkg.json index 7fc218c0fb..a9ef88e656 100644 --- a/ports/tgui/vcpkg.json +++ b/ports/tgui/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index a7d458de62..b4503b0ae5 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9194,7 +9194,7 @@ }, "tgui": { "baseline": "1.8.0", - "port-version": 1 + "port-version": 2 }, "think-cell-range": { "baseline": "2023.1", diff --git a/versions/t-/tgui.json b/versions/t-/tgui.json index 43d7f94b5e..fedcd8f7b9 100644 --- a/versions/t-/tgui.json +++ b/versions/t-/tgui.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "6d8b007bcf373e582893d6782c4520ece348b58a", + "version": "1.8.0", + "port-version": 2 + }, { "git-tree": "c6390a7307153b8fc26cc25e685d298f65424fec", "version": "1.8.0",