HomePhabricator

[Chronik] Fix `CARGO_BUILD_DIR`, incorrectly based on CMAKE_CURRENT_BINARY_DIR…

Description

[Chronik] Fix CARGO_BUILD_DIR, incorrectly based on CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR

Summary:
CARGO_BUILD_DIR is the path where the cxx crate generates the bridging sources.
We've incorrectly used CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR, and this fixes it.

Test Plan: ninja check-crates

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11862

Details

Provenance
tobias_ruckAuthored on Aug 16 2022, 12:55
tobias_ruckPushed on Sep 1 2022, 20:29
Reviewer
Restricted Project
Differential Revision
D11862: [Chronik] Fix `CARGO_BUILD_DIR`, incorrectly based on CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
Parents
rABCdf57c56e023c: [Cashtab] Only test staged files
Branches
Unknown
Tags
Unknown