Index: cmake/caches/Fuchsia-stage2.cmake =================================================================== --- cmake/caches/Fuchsia-stage2.cmake +++ cmake/caches/Fuchsia-stage2.cmake @@ -19,6 +19,10 @@ set(CLANG_DEFAULT_LINKER lld CACHE STRING "") endif() +if(APPLE) + set(LLDB_CODESIGN_IDENTITY "" CACHE STRING "") +endif() + set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "") set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "") Index: cmake/caches/Fuchsia.cmake =================================================================== --- cmake/caches/Fuchsia.cmake +++ cmake/caches/Fuchsia.cmake @@ -1,6 +1,8 @@ # This file sets up a CMakeCache for a Fuchsia toolchain build. -set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "") +if(NOT APPLE) + set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "") +endif() set(PACKAGE_VENDOR Fuchsia CACHE STRING "")