CMake CheckCompilerFlag not found error with CMake version lower than 3.19
Building on Debian 10 with GCC 8.3 and CMake 3.13.4 causes the following CMake configure error:
CMake Error at CMake/vtkCompilerWarningFlags.cmake:5 (include):
include could not find load file:
CheckCompilerFlag
Call Stack (most recent call first):
CMakeLists.txt:54 (include)
In deed, CheckCompilerFlag
is available since CMake 3.19, but the cmake_minimum_required()
is limited to the 3.12...3.16
range in the main CMakeLists.txt
.
I followed the contribution and development guidelines and pushed a fix on the CMake-3.19-CheckCompilerFlag
branch of my fork. I'm not sure about the correct workflow to create a merge-request etc. and would need some help (all read the development guidelines).
Finally, I created a https://gitlab.kitware.com, forked, added a access token etc., but the Gitlab account seems to be disabled or deleted a few days later since I wasn't able to log in. However, I succeeded to access an account using GMail sign in, but had to regenerate an access token.
Also, when using git gitlab-push
I got an SSH key error. I then generated one and added the public key to my account, but still had some errors saying that the remote could be read nor written.