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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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