How do I activate C++ 11 in CMake?
As it turns out, SET(CMAKE_CXX_FLAGS “-std=c++0x”) does activate many C++11 features. The reason it did not work was that the statement looked like this: Following this approach, somehow the -std=c++0x flag was overwritten and it did not work. Setting the flags one by one or using a list method is working.