cmake: Revamp FindLibevent module

This change generalizes the use of `find_package` / `pkg_check_modules`,
prioritizing the former.
This commit is contained in:
Hennadii Stepanov
2024-11-06 15:40:34 +00:00
parent 45e2f8f87d
commit b619bdc330
5 changed files with 38 additions and 32 deletions

View File

@@ -182,7 +182,7 @@ Setup and Build Example: Arch Linux
-----------------------------------
This example lists the steps necessary to setup and build a command line only distribution of the latest changes on Arch Linux:
pacman --sync --needed cmake boost gcc git libevent make pkgconf python sqlite
pacman --sync --needed cmake boost gcc git libevent make python sqlite
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin/
cmake -B build