File blobbyvolley2-1.1.1_external_tinyxml.patch of Package blobby
diff -ur blobbyvolley2-1.1.1/deps/CMakeLists.txt blobbyvolley2-1.1.1_fix/deps/CMakeLists.txt
--- blobbyvolley2-1.1.1/deps/CMakeLists.txt 2023-08-05 19:58:00.000000000 +0200
+++ blobbyvolley2-1.1.1_fix/deps/CMakeLists.txt 2025-05-02 22:22:14.170994253 +0200
@@ -1,2 +1,4 @@
-add_subdirectory(tinyxml)
+find_library(TINYXML2_LIBRARY NAMES tinyxml2)
+find_path(TINYXML2_INCLUDE_DIR NAMES tinyxml2.h)
+include_directories(${TINYXML2_INCLUDE_DIR})
add_subdirectory(lua)
diff -ur blobbyvolley2-1.1.1/src/CMakeLists.txt blobbyvolley2-1.1.1_fix/src/CMakeLists.txt
--- blobbyvolley2-1.1.1/src/CMakeLists.txt 2023-08-05 19:58:00.000000000 +0200
+++ blobbyvolley2-1.1.1_fix/src/CMakeLists.txt 2025-05-02 22:22:03.351823716 +0200
@@ -100,7 +100,7 @@
add_definitions("-DBLOBBY_DATA_DIR=\"${CMAKE_INSTALL_PREFIX}/share/blobby\"")
endif()
-set(BLOBBY_COMMON_LIBS lua::lua blobnet::blobnet tinyxml2::tinyxml2 PhysFS::PhysFS SDL2::SDL2main SDL2::SDL2 Boost::boost)
+set(BLOBBY_COMMON_LIBS lua::lua blobnet::blobnet tinyxml2 PhysFS::PhysFS SDL2::SDL2main SDL2::SDL2 Boost::boost)
# other additional dependencies
if (NOT WIN32)