Page MenuHomePhabricator

[CMAKE] Fix OSX native build
ClosedPublic

Authored by Fabien on Aug 1 2019, 14:37.

Details

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.

Diff Detail

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