Skip to content

Instantly share code, notes, and snippets.

View kristinf's full-sized avatar

Kristin Flornes kristinf

View GitHub Profile
Determining if the CXX compiler accepts the flag -std=c++11 failed with the following output:
Change Dir: /home/kmf/OPM5/build/dune-cornerpoint-build/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/home/kmf/OPM5/build/dune-cornerpoint-build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/kmf/OPM5/build/dune-cornerpoint-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/DummyCXXFile.cxx.o
/usr/bin/c++ -pipe -Wall -std=c++11 -o CMakeFiles/cmTryCompileExec.dir/DummyCXXFile.cxx.o -c /usr/share/cmake/Modules/DummyCXXFile.cxx
cc1plus: error: unrecognized command line option ‘-std=c++11’