[tgui] Change the cmake feature flags (#36452)

The cmake options that TGUI uses has changed:
2aaacf812d/src/Backend/CMakeLists.txt
https://tgui.eu/tutorials/latest-stable/backends/
This commit is contained in:
nfarid 2024-01-30 04:06:24 +00:00 committed by GitHub
parent 53945e8a29
commit 7dc284a6ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 11 additions and 7 deletions

View File

@ -28,8 +28,8 @@ 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
sfml TGUI_HAS_BACKEND_SFML
sdl2 TGUI_HAS_BACKEND_SDL_RENDERER
sfml TGUI_HAS_BACKEND_SFML_GRAPHICS
tool TGUI_BUILD_GUI_BUILDER
)
@ -48,9 +48,7 @@ vcpkg_cmake_configure(
OPTIONS_DEBUG
-DTGUI_BUILD_GUI_BUILDER=OFF
MAYBE_UNUSED_VARIABLES
TGUI_BUILD_FRAMEWORK
TGUI_HAS_BACKEND_SDL
TGUI_HAS_BACKEND_SFML
TGUI_USE_STATIC_STD_LIBS
)
vcpkg_cmake_install()

View File

@ -1,4 +1,4 @@
tgui provides CMake targets:
find_package(TGUI CONFIG REQUIRED)
target_link_libraries(main PRIVATE tgui)
target_link_libraries(main PRIVATE TGUI::TGUI)

View File

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

View File

@ -8458,7 +8458,7 @@
},
"tgui": {
"baseline": "1.1.0",
"port-version": 0
"port-version": 1
},
"theia": {
"baseline": "0.8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3c00844f3560bff9d3e31acc247cfddd5edba024",
"version": "1.1.0",
"port-version": 1
},
{
"git-tree": "dd583943a94fda26c0fe58b498ebc8675af7e831",
"version": "1.1.0",