HomePhabricator

[CMAKE] Drop dependency search for the native builds

Description

[CMAKE] Drop dependency search for the native builds

Summary:
This is an alternative to D7552, intended to solve the need for
dependencies when building against the static depends.

This diff simply makes the dependency search conditional so it only
applies to the non native builds. It is limited to libevent and boost as
other dependencies already have an option to turn them off which
achieves the same.

Depends on D7816.

Test Plan:
On Ubuntu Xenial:

cmake -GNinja .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Linux64.cmake
ninja

Check the build succeeds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
FabienAuthored on Oct 1 2020, 15:14
FabienPushed on Oct 9 2020, 13:49
Reviewer
Restricted Project
Differential Revision
D7720: [CMAKE] Drop dependency search for the native builds
Parents
rABC5a62487f23d3: Fix start with the `-min` option
Branches
Unknown
Tags
Unknown