[PATCH] D85195: Add Z3 to system libraries list if enabled
Mikhail Ramalho via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 19:33:06 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG30967e51da61: Add Z3 to system libraries list if enabled (authored by mikhail.ramalho).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85195/new/
https://reviews.llvm.org/D85195
Files:
llvm/lib/Support/CMakeLists.txt
Index: llvm/lib/Support/CMakeLists.txt
===================================================================
--- llvm/lib/Support/CMakeLists.txt
+++ llvm/lib/Support/CMakeLists.txt
@@ -57,9 +57,7 @@
# Link Z3 if the user wants to build it.
if(LLVM_WITH_Z3)
- set(Z3_LINK_FILES ${Z3_LIBRARIES})
-else()
- set(Z3_LINK_FILES "")
+ set(system_libs ${system_libs} ${Z3_LIBRARIES})
endif()
add_llvm_component_library(LLVMSupport
@@ -206,7 +204,7 @@
${LLVM_MAIN_INCLUDE_DIR}/llvm/ADT
${LLVM_MAIN_INCLUDE_DIR}/llvm/Support
${Backtrace_INCLUDE_DIRS}
- LINK_LIBS ${system_libs} ${imported_libs} ${delayload_flags} ${Z3_LINK_FILES}
+ LINK_LIBS ${system_libs} ${imported_libs} ${delayload_flags}
)
set(llvm_system_libs ${system_libs})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85195.287814.patch
Type: text/x-patch
Size: 749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/1038c889/attachment.bin>
More information about the llvm-commits
mailing list