Commit 3bd0a4d2 authored by Alexis Girault's avatar Alexis Girault
Browse files

COMP: Add -stdlib=libc++ flag for MacOSX

parent 273ddf33
......@@ -57,6 +57,10 @@ else()
message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.")
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
#-----------------------------------------------------------------------------
# Define External dependencies
#-----------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment