Page MenuHomePhabricator

[CMAKE] Fix FindBerkeleyDB for FreeBSD
ClosedPublic

Authored by Fabien on Dec 12 2019, 15:37.

Details

Summary

The files are located under /usr/local/<include|lib>/db5/ on FreeBSD 12.
Using PATH_SUFFIXES allow to search with the db5 directory in the
path.

Test Plan

On FreeBSD (tested on FreeBSD 12):

cmake -GNinja -DBUILD_BITCOIN_QT=OFF ..

Check that cmake finds the library.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cmake_freebsd_bdb
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8522
Build 15043: Default Diff Build & Tests
Build 15042: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Dec 12 2019, 17:36