Ahoj,
with cmake version 4 build broke:
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!
Workaround adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 works, but proper fix is to change the build code. (I have seen it also in other projects.)
Another project did use this solution, maybe you can get inspiration there.
Regards!
Ahoj,
with
cmakeversion 4 build broke:Workaround adding
-DCMAKE_POLICY_VERSION_MINIMUM=3.5works, but proper fix is to change the build code. (I have seen it also in other projects.)Another project did use this solution, maybe you can get inspiration there.
Regards!