HomePhabricator

[cmake] Check for the presence of the the daemon library call

Description

[cmake] Check for the presence of the the daemon library call

Summary: daemon is only defined on some plateform and checked in the codebase using a define in the configuration. This ensures that cmake produces the proper define in its configuration.

Test Plan:
Build with cmake/ninja

./src/bitcoind -daemon
tail -f ~/.bitcoin/debug.log

Ensures that the node catches up with the chain as expected.

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
deadalnixAuthored on Sep 12 2018, 00:19
deadalnixPushed on Sep 15 2018, 17:12
Reviewer
Restricted Project
Differential Revision
D1770: [cmake] Check for the presence of the the daemon library call
Parents
rSTAGING33199e2c93c7: Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1.
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/4920