From 80f2f21f4c94b5b310d808b314d60dfd422039f2 Mon Sep 17 00:00:00 2001 From: Tycho Date: Fri, 17 Jan 2014 10:10:31 -0800 Subject: Changed std to c++11 in clang to fix va_copy issues --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f2ad8b364..4ddd34db3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,7 @@ elseif(APPLE) #on os x clang adds pthread for us but we need to add it for gcc if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") add_flags_cxx("-pthread") + add_flags_cxx("-std=c++11") endif() else() # Let gcc / clang know that we're compiling a multi-threaded app: -- cgit v1.2.3