I am new to use cmake. I have installed gcc 4.7 in my home directory.
And I try to set gcc to this location by export CXX
or overwrite the variable CMAKE_CXX_COMPILER
. The error cc1plus: error: unrecognized command line option "-std=c++11"
still exists. May I know how can I do to solve it?