Page MenuHomePhabricator

Bump CMake minimum version to 3.18
ClosedPublic

Authored by Fabien on Oct 21 2024, 15:57.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCd36379971c02: Bump CMake minimum version to 3.18
Summary

This makes it possible to find the Python::Development.Embed target that has been introduced in this version. All distros ship a higher version by default, Debian bullseye being the oldest one with 3.18.

While I'm touching it, I improved the python search as well to only include what is needed, enforce the minimum version, make it mandatory and remove the redundant log.

Test Plan
cmake -GNinja .. -DBUILD_BITCOIN_CHRONIK=ON -DBUILD_BITCOIN_CHRONIK_PLUGINS=ON
ninja all check-all

Diff Detail

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