CMake Error in CMakeLists.txt:
  Target "foo" requires the language dialect "CXX11" \(with compiler
  extensions\), but CMake does not know the compile flags to use to enable it.