My (arch) system is currently on cmake version 4.0.3-dirty. When attempting to build this package directly from the aur, cmake reports
CMake Error at CMakeLists.txt:2 (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.
As the error suggests, adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to the cmake invocation in the aur PKGBUILD works. I don't know enough about cmake's syntax to know exactly what patch to apply to "use the ... syntax" but given that "try configuring anyway" worked completely fine I imagine it should be a straightforward tweak.
My (arch) system is currently on cmake version
4.0.3-dirty. When attempting to build this package directly from the aur, cmake reportsAs the error suggests, adding
-DCMAKE_POLICY_VERSION_MINIMUM=3.5to thecmakeinvocation in the aur PKGBUILD works. I don't know enough about cmake's syntax to know exactly what patch to apply to "use the ... syntax" but given that "try configuring anyway" worked completely fine I imagine it should be a straightforward tweak.