CMake Error at CMake/Platform.cmake:19 (LIST):
LIST index: 1 out of range (-1, 0)
Call Stack (most recent call first):
CMakeLists.txt:14 (INCLUDE)
This was caused by gcc-7 -dumpversion only returning the major version.
Now the cmake internal version variable is used which should work for
both old and new gcc versions.
The error message was:
This was caused by
gcc-7 -dumpversion
only returning the major version. Now the cmake internal version variable is used which should work for both old and new gcc versions.