[MemFunctions] Add c++11 flag.
We're using constexpr in the code, so this breaks in older systems.
MicroBenchmarks/MemFunctions/main.cpp:34:10: error: unknown type name 'constexpr'
static constexpr size_t kMaxBufSizeBytes = 4096;
See https://reviews.llvm.org/D64082
llvm-svn: 369888
diff --git a/MicroBenchmarks/MemFunctions/CMakeLists.txt b/MicroBenchmarks/MemFunctions/CMakeLists.txt
index 6f08d85..9372406 100644
--- a/MicroBenchmarks/MemFunctions/CMakeLists.txt
+++ b/MicroBenchmarks/MemFunctions/CMakeLists.txt
@@ -1,3 +1,5 @@
+list(APPEND CPPFLAGS -std=c++11)
+
llvm_test_run(WORKDIR ${CMAKE_CURRENT_BINARY_DIR})
llvm_test_executable(MemFunctions main.cpp)