[PATCH] D73840: [CMake] Add missing component dependencies, to fix building for mingw with BUILD_SHARED_LIBS
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 03:15:22 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc1c9819ef91a: [CMake] Add missing component dependencies, to fix building for mingw with… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73840/new/
https://reviews.llvm.org/D73840
Files:
llvm/examples/Bye/CMakeLists.txt
llvm/tools/bugpoint-passes/CMakeLists.txt
llvm/unittests/Passes/CMakeLists.txt
Index: llvm/unittests/Passes/CMakeLists.txt
===================================================================
--- llvm/unittests/Passes/CMakeLists.txt
+++ llvm/unittests/Passes/CMakeLists.txt
@@ -14,7 +14,7 @@
export_executable_symbols(PluginsTests)
target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)
-set(LLVM_LINK_COMPONENTS)
+set(LLVM_LINK_COMPONENTS Support Core)
add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
TestPlugin.cpp
)
Index: llvm/tools/bugpoint-passes/CMakeLists.txt
===================================================================
--- llvm/tools/bugpoint-passes/CMakeLists.txt
+++ llvm/tools/bugpoint-passes/CMakeLists.txt
@@ -11,7 +11,7 @@
endif()
if(WIN32 OR CYGWIN)
- set(LLVM_LINK_COMPONENTS Core)
+ set(LLVM_LINK_COMPONENTS Core Support)
endif()
add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY
Index: llvm/examples/Bye/CMakeLists.txt
===================================================================
--- llvm/examples/Bye/CMakeLists.txt
+++ llvm/examples/Bye/CMakeLists.txt
@@ -7,6 +7,10 @@
DEPENDS
intrinsics_gen
BUILDTREE_ONLY
+ LINK_COMPONENTS
+ ipo
+ Core
+ Support
)
install(TARGETS ${name} RUNTIME DESTINATION examples)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73840.242547.patch
Type: text/x-patch
Size: 1220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/ec55080d/attachment.bin>
More information about the llvm-commits
mailing list