clang-doc-build-as-clang_tool.patch 837 B

123456789101112131415161718192021222324252627
  1. From 45e92fcf45def2b59c06b6407c73b798eaa321ae Mon Sep 17 00:00:00 2001
  2. From: Julie Hockett <juliehockett@google.com>
  3. Date: Fri, 29 Mar 2019 16:56:36 +0000
  4. Subject: [PATCH] [clang-doc] Build as clang_tool
  5. Instead of as clang_executable.
  6. Differential Revision: https://reviews.llvm.org/D59974
  7. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@357274 91177308-0d34-0410-b5e6-96231b3b80d8
  8. ---
  9. clang-doc/tool/CMakeLists.txt | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/clang-doc/tool/CMakeLists.txt b/clang-doc/tool/CMakeLists.txt
  12. index d7f28cf681..35f99ea08e 100644
  13. --- a/clang-doc/tool/CMakeLists.txt
  14. +++ b/clang-doc/tool/CMakeLists.txt
  15. @@ -1,6 +1,6 @@
  16. include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
  17. -add_clang_executable(clang-doc
  18. +add_clang_tool(clang-doc
  19. ClangDocMain.cpp
  20. )