use libc++ with clang by default

This commit is contained in:
cen1 2016-12-26 22:31:29 +01:00
parent 2f5da2232f
commit 34d4e02557

View file

@ -47,7 +47,7 @@ if (MSVC)
endif ()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pedantic")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pedantic -stdlib=libc++")
# Pass CXX flags to flags.
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSEQAN_CXX_FLAGS_=\"${CMAKE_CXX_FLAGS}\"")