When I was compiling CMAKE-3.11.4 with GNU-5.4.0, we encountered the error
"The C++ compiler does not support C++11 (e.g. std::unique_ptr)"
This was rather complex to solve. I believe if I upgrade my GNU Compilers, it might work. Somehow at GNU 5.4, it does not recognize the C++11 support.
But when I downgraded to Cmake-3.9.6, it works immediately without issues. Do look at https://cmake.org/files/v3.9/
# cd $CMAKE_HOME #./bootstrap # gmake