HomePhabricator

[CMAKE] Fix OSX native build

Description

[CMAKE] Fix OSX native build

Summary:
Cross building for OSX is working, but native cmake build on OSX is
missing some -framework directives to link bitcoin-qt because there
is no QT .prl files to get the dependencies from.
Note that this is the same behavior that autotools build.

Test Plan:
On OSX:

mkdir buildcmake && cd buildcmake
cmake -GNinja ..
ninja

Check the build is successful. Run the generated bitcoin-qt as a
sanity check.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
FabienAuthored on Aug 1 2019, 14:21
FabienPushed on Aug 5 2019, 07:30
Reviewer
Restricted Project
Differential Revision
D3791: [CMAKE] Fix OSX native build
Parents
rSTAGING4f7faba9489e: Fix missing lock in denialofservice_tests
Branches
Unknown
Tags
Unknown