Page MenuHomePhabricator

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

Authored by tobias_ruck on Aug 16 2022, 12:57.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable