mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
another MacOS fix
This commit is contained in:
parent
b58b035871
commit
b313e63a77
@ -32,7 +32,9 @@ function(use_libcxx out)
|
||||
endfunction()
|
||||
|
||||
function(static_link_libcxx out)
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
if(APPLE)
|
||||
set("${out}" OFF PARENT_SCOPE)
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
default_linker(linker)
|
||||
if(NOT linker STREQUAL "LLD")
|
||||
set("${out}" OFF PARENT_SCOPE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user