-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
Description
When configuring the project with CMake 4 I am getting the following deprecation warnings (requires at least the NRN_ENABLE_CORENEURON=ON flag):
-- 3rd party project: using CLI11 from "external/CLI11"
CMake Deprecation Warning at external/CLI11/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
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.
-- 3rd party project: using pybind11 from "external/pybind11"
CMake Deprecation Warning at external/pybind11/CMakeLists.txt:13 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
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.
-- pybind11 v2.12.0
CLI11 has recently updated to version 2.5.0 which bumps the minimum version of CMake.
As of time of writing, pybind11 does not have a stable release which does the same (latest is version 2.13.6), though support on the main branch was added recently (see pybind/pybind11@d27fdaa).