cmake version outdated: Compatibility with CMake < 3.5 has been removed from CMake
Hello,
the CMake version is no longer supported:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLIBTINS_ENABLE_CXX11=1 -B build
commit fe221866238282057478b3c15e985dd12c8f49ef
Ping on maintainer @mfontanini
Feel free to create a PR. You also didn't post any error messages.
Seems like copy-paste didn't work:
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLIBTINS_ENABLE_CXX11=1 -B build
CMake Error at CMakeLists.txt:1 (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.
-- Configuring incomplete, errors occurred!
I only use the libtins project, I'm not familiar with its code. So it would be great if you, as the maintainer, could solve the problem.
For context: The problem affects both AUR packages of libtins for Arch.
I tried to create a PR, https://github.com/mfontanini/libtins/pull/556 - it compiles for me. But of course, it's possible that I overlooked something.