Explicitly Enable C++11 compiler Flags
We need to extend the base CMakeLists.txt
to explicitly enable C++11
like cmb/smtk.
The following code should go just before the project(remus) line:
#If the user/superbuild hasn't explicitly stated what c++ standard to use
#require C++11
if(NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS FALSE)
endif()