Author: Martin Storsjö
Date: 2024-09-12T23:12:54+03:00
New Revision: aa3465793a250faa5426ac626989375465256658

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

LOG: [clang-scan-deps] Fix builds with BUILD_SHARED_LIBS=ON

This fixes building in this configuration after
87e1104cf0e2de0d04bee2944893fa7897277b2f.

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 f0be6a546ff882..10bc0ff23c5482 100644
--- a/clang/tools/clang-scan-deps/CMakeLists.txt
+++ b/clang/tools/clang-scan-deps/CMakeLists.txt
@@ -1,4 +1,5 @@
 set(LLVM_LINK_COMPONENTS
+  ${LLVM_TARGETS_TO_BUILD}
   Core
   Option
   Support


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to