-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
TLDR is in the title, the package does not install with the most recent cmake, and trying to do so produces the following error:
[...]
-- Detecting CXX compile features - done
CMake Error at build/temp.linux-x86_64-cpython-38/samplerate/_deps/pybind11-src/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
I'm seeing this a lot now that the github actions runners updated to cmake 4.0 yesterday, and everything is now failing.
Note: this is likely inherited from pybind11, but it's not clear to me that this is limited to pybind11, so I'm raising it here. In case pybind11 cuts a new release and that fixes the problem entirely, we can close this out.
shauneccles, marvinjuette and abdullah-barhoum-aaron
Metadata
Metadata
Assignees
Labels
No labels