mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-31 18:20:01 -06:00
Allow for using LLVM from Homebrew and include its libc++
This commit is contained in:
@ -123,8 +123,10 @@ if (ENABLE_LTO)
|
||||
if (NOT LLD STREQUAL "LLD-NOTFOUND")
|
||||
add_link_options(-fuse-ld=lld)
|
||||
endif()
|
||||
set(CMAKE_AR "llvm-ar")
|
||||
set(CMAKE_RANLIB "llvm-ranlib")
|
||||
if (NOT APPLE)
|
||||
set(CMAKE_AR "llvm-ar")
|
||||
set(CMAKE_RANLIB "llvm-ranlib")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user