1
0
Fork 0

trying to fix Darwin

This commit is contained in:
Frank Celler 2016-02-19 00:00:40 +01:00
parent 303bc50fd9
commit 972acd6ae8
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ set(V8_BUILD_COMMAND $(MAKE) -f Makefile-v8
)
if (APPLE AND CMAKE_COMPILER_IS_CLANG)
set(V8_BUILD_COMMAND ${V8_BUILD_COMMAND} LDFLAGS=-stdlib=libc++)
if (NOT ${CMAKE_CXX_COMPILER} MATCHES "^/usr/bin/(c|clang)\\+\\+$")
set(V8_BUILD_COMMAND ${V8_BUILD_COMMAND} LDFLAGS=-stdlib=libc++)
endif ()
endif ()
if (NOT USE_PRECOMPILED_V8)