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…
Reference in New Issue