diff options
Diffstat (limited to 'clang-tools-extra/CMakeLists.txt')
-rw-r--r-- | clang-tools-extra/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/CMakeLists.txt b/clang-tools-extra/CMakeLists.txt index c3137adef9f1..37e3e87eca8c 100644 --- a/clang-tools-extra/CMakeLists.txt +++ b/clang-tools-extra/CMakeLists.txt @@ -1,3 +1,8 @@ +option(CLANGD_BUILD_XPC "Build XPC Support For Clangd." OFF) +if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + set(CLANGD_BUILD_XPC ON CACHE BOOL "" FORCE) +endif () + add_subdirectory(clang-apply-replacements) add_subdirectory(clang-reorder-fields) add_subdirectory(modularize) |