aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/behaviortree-cpp/fix-dependencies.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/behaviortree-cpp/fix-dependencies.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/behaviortree-cpp/fix-dependencies.patch')
-rw-r--r--vcpkg/ports/behaviortree-cpp/fix-dependencies.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/behaviortree-cpp/fix-dependencies.patch b/vcpkg/ports/behaviortree-cpp/fix-dependencies.patch
new file mode 100644
index 0000000..e43e7fd
--- /dev/null
+++ b/vcpkg/ports/behaviortree-cpp/fix-dependencies.patch
@@ -0,0 +1,28 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c9528bd..0fd9f26 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -231,7 +231,7 @@ target_link_libraries(${BTCPP_LIBRARY}
+ ${CMAKE_DL_LIBS}
+ $<BUILD_INTERFACE:foonathan::lexy>
+ $<BUILD_INTERFACE:minitrace::minitrace>
+- $<BUILD_INTERFACE:tinyxml2::tinyxml2>
++ tinyxml2::tinyxml2
+ $<BUILD_INTERFACE:minicoro::minicoro>
+ $<BUILD_INTERFACE:flatbuffers::flatbuffers>
+ PUBLIC
+diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in
+index eaed471..dd8a4a8 100644
+--- a/cmake/Config.cmake.in
++++ b/cmake/Config.cmake.in
+@@ -1,5 +1,10 @@
+ @PACKAGE_INIT@
+
++include(CMakeFindDependencyMacro)
++
++find_dependency(Threads)
++find_dependency(tinyxml2 CONFIG)
++
+ include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
+
+ set(@PROJECT_NAME@_TARGETS "BT::@PROJECT_NAME@")