Closed LogashenkoDL closed 2 years ago
To clear up some details: It does not concern the Boost. It was only an example. Actually, there are a lot of messages, in particular CMake Deprecation Warning at ugcore/CMakeLists.txt:31 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Do we need this compatibility for our own cmake stuff? Or will it continue to work if we just put cmake_minimum_required(VERSION 2.8.12)
everywhere?
I assume that it will work with cmake_minimum_required(VERSION 2.8.12), I can check. The only matter is that the version 2.6 should not be essential for anybody or for any other reason.
CMake 2.6 is from year 2008 - do still many people use this? Even on the compute clusters it should be > 2.6.?
It seems to work with cmake_minimum_required(VERSION 2.8.12) and I am sure that there is no need for cmake 2.6 now. However, there are two issues:
Hi @LogashenkoDL,
I think the relevant code is here (line 103-117): https://github.com/UG4/ughub/blob/master/ughub.py#L103-L117
Regards, Stephan
So, there is now a new branch with the corrections, and the branch in ughub repository with the same name. As soon as the issue with Boost is solved, we can merge everything.
The changes are committed to the repository.
It seems that Kitware stops supporting old versions of CMake. With CMake 3.19.0, I get the message:
CMake Deprecation Warning at externals/BoostForUG4/libs/system/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
ug4 sets the minimum version to 2.6: cmake_minimum_required(VERSION 2.6)
Should we set the minimum version to 2.8.12 or higher?