Commit 5326a274 authored by Bastien Jacquet's avatar Bastien Jacquet
Browse files

Fix superbuild for OSX El Captian

parent 8aaf02fd
......@@ -32,6 +32,10 @@ if (APPLE)
set (platform "apple")
option(APPLY_MOUNTAIN_LION_FIX "Apply Mountain Lion bundle fix" OFF)
mark_as_advanced(APPLY_MOUNTAIN_LION_FIX)
# Fix stdlic being wrongly used instead of libc++
# (as it conflicts with boost which always uses libc++)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
elseif (UNIX)
set (platform "unix")
elseif (WIN32)
......
Markdown is supported
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