fix: workaround soci's overly zealous boost

This commit is contained in:
Nicholas Dudfield
2025-06-27 13:01:56 +07:00
parent b57b76ea8b
commit 302bf92802
2 changed files with 6 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ endif()
target_link_libraries(ripple_boost
INTERFACE
Boost::headers
Boost::boost
Boost::chrono
Boost::container
Boost::coroutine

View File

@@ -83,7 +83,11 @@ class Xrpl(ConanFile):
'snappy/*:shared': False,
'soci/*:shared': False,
'soci/*:with_sqlite3': True,
'soci/*:with_boost': True,
# TODO: this is workaround for soci's overly zealous boost dependency which will
# cause the build to link against ALL the boost libraries, which is not what we want.
# Components depending on soci, already have a dependency on boost, so we can skip this.
# When conan 2 is used, the updated soci recipe is already only linking against the boost::headers.
'soci/*:with_boost': False,
'xxhash/*:shared': False,
}