[clang] 2db83b1 - [CMake] Fix -DBUILD_SHARED_LIBS=on builds after D137534

Kai Luo via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 20:58:37 PST 2023


Author: Kai Luo
Date: 2023-02-10T04:58:20Z
New Revision: 2db83b1b311bae3d14067970edf15c69999a1d37

URL: https://github.com/llvm/llvm-project/commit/2db83b1b311bae3d14067970edf15c69999a1d37
DIFF: https://github.com/llvm/llvm-project/commit/2db83b1b311bae3d14067970edf15c69999a1d37.diff

LOG: [CMake] Fix -DBUILD_SHARED_LIBS=on builds after D137534

Added: 
    

Modified: 
    clang/tools/clang-scan-deps/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/tools/clang-scan-deps/CMakeLists.txt b/clang/tools/clang-scan-deps/CMakeLists.txt
index 6aa914f3b256..4db565314c06 100644
--- a/clang/tools/clang-scan-deps/CMakeLists.txt
+++ b/clang/tools/clang-scan-deps/CMakeLists.txt
@@ -1,6 +1,8 @@
 set(LLVM_LINK_COMPONENTS
   Core
+  Option
   Support
+  TargetParser
   )
 
 add_clang_tool(clang-scan-deps


        


More information about the cfe-commits mailing list