Seems to be related to https://gitlab.kitware.com/cmake/cmake/issues/16608 so there is a workaround: SET(CMAKE_CXX_STANDARD 14)
Seems to be related to https:/ /gitlab. kitware. com/cmake/ cmake/issues/ 16608 so there is a workaround: SET(CMAKE_ CXX_STANDARD 14)