early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

23
externals/vcpkg/ports/tgui/fix-usage.patch vendored Executable file
View File

@@ -0,0 +1,23 @@
diff --git a/cmake/TGUIConfig.cmake.in b/cmake/TGUIConfig.cmake.in
index 63e8a45..01804cd 100644
--- a/cmake/TGUIConfig.cmake.in
+++ b/cmake/TGUIConfig.cmake.in
@@ -44,6 +44,9 @@
# add_executable(myapp ...)
# target_link_libraries(myapp tgui)
+include(CMakeFindDependencyMacro)
+find_dependency(SFML COMPONENTS graphics CONFIG)
+
set(FIND_TGUI_PATHS
"${CMAKE_CURRENT_LIST_DIR}/../.."
${TGUI_ROOT}
@@ -58,7 +61,7 @@ set(FIND_TGUI_PATHS
/opt)
# Choose which target definitions must be imported
-if (TGUI_STATIC_LIBRARIES)
+if (NOT @TGUI_SHARED_LIBS@)
set(TGUI_IS_FRAMEWORK_INSTALL "@TGUI_BUILD_FRAMEWORKS@")
if (TGUI_IS_FRAMEWORK_INSTALL)
message(WARNING "Static frameworks are not supported by TGUI. Clear TGUI_DIR cache entry, \