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
Branch
cmake_fix_osx_native
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7026
Build 12099: Bitcoin ABC Buildbot (legacy)
Build 12098: arc lint + arc unit