mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 10:00:30 +00:00
fix(build): remove duplicate add_module(xrpl tx) declaration
The phase-2 merge re-added the pre-telemetry `add_module(xrpl tx)` block without removing it, leaving the module declared twice. CMake's add_library rejects a repeated target name, so configure failed before any compilation: add_library cannot create target "xrpl.libxrpl.tx" because another target with the same name already exists. Drop the stale pre-telemetry block and keep the one that follows add_module(xrpl telemetry), which links both ledger and telemetry. libxrpl/tx needs the telemetry link for the tx.transactor span, and levelization already records `libxrpl.tx > xrpl.telemetry`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -204,9 +204,6 @@ target_link_libraries(
|
||||
xrpl.libxrpl.conditions
|
||||
)
|
||||
|
||||
add_module(xrpl tx)
|
||||
target_link_libraries(xrpl.libxrpl.tx PUBLIC xrpl.libxrpl.ledger)
|
||||
|
||||
add_module(xrpl consensus)
|
||||
target_link_libraries(
|
||||
xrpl.libxrpl.consensus
|
||||
|
||||
Reference in New Issue
Block a user