SQLiteCpp icon indicating copy to clipboard operation
SQLiteCpp copied to clipboard

Add logic to use different FindPackage for python if cmake is above 3.12

Open syntheticgio opened this issue 2 years ago • 0 comments

find_package(PythonInterp) has been deprecated since cmake 3.5 and is throwing a warning as of 3.27 (maybe earlier). Since the minimum required version is 3.5 for this repo, added a branch to use the appropriate find_package depending on the version.

Tested with 3.27 (above the split) and 3.10.x (below the split). Both were successful for me (ubuntu:18.04 & 22.04).

syntheticgio avatar Oct 21 '23 12:10 syntheticgio