-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
When compiling with CMake 4.0.2 on Arch Linux (x86_64):
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.
When using the workaround from the last line, it seems to compile fine anyway.
Some other CMake warnings showing up:
CMake Warning (dev) at CMakeLists.txt:12 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels