diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/UseCXX11.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/UseCXX11.cmake b/cmake/UseCXX11.cmake index e94de2bb..f8afaa6e 100644 --- a/cmake/UseCXX11.cmake +++ b/cmake/UseCXX11.cmake @@ -4,7 +4,7 @@ endif() set(__USECXX11_CMAKE__ TRUE) if(APPLE) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11") elseif(UNIX) # assume GCC, add C++0x/C++11 stuff set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |