From 6d98d45c9c1867d4006f93e04bc1380b36e34f18 Mon Sep 17 00:00:00 2001 From: PeterChou1 <peter.chou@mail.utoronto.ca> Date: Thu, 10 Apr 2025 07:58:29 -0400 Subject: [PATCH] reland [clang-doc][NFC] refactor out file helpers (#135164) Split from https://github.com/llvm/llvm-project/pull/133161 refactor the code to extract file helpers used in HTML generators for use in other generators for clang-doc This patch fixes the error where compiling with -DLLVM_LINK_LLVM_DYLIB=ON broke the buildbot --- clang-tools-extra/clang-doc/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang-tools-extra/clang-doc/CMakeLists.txt b/clang-tools-extra/clang-doc/CMakeLists.txt index f4f62c74d659..915e14c3ee16 100644 --- a/clang-tools-extra/clang-doc/CMakeLists.txt +++ b/clang-tools-extra/clang-doc/CMakeLists.txt @@ -36,4 +36,9 @@ clang_target_link_libraries(clangDoc clangToolingCore ) +target_link_libraries(clangDoc + PRIVATE + clangDocSupport + ) + add_subdirectory(tool)