summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-16 12:14:13 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-16 12:14:13 +0000
commit789f722abd3baca365ea01ce74afbfd4737f8060 (patch)
tree6a5c2904e04b1f5b51ace649eca438cabcefdd33 /cmake
parent88fae4e86f258336fceea8cdbc8d854777ce2ceb (diff)
downloadllvm-789f722abd3baca365ea01ce74afbfd4737f8060.tar.gz
llvm-789f722abd3baca365ea01ce74afbfd4737f8060.tar.bz2
llvm-789f722abd3baca365ea01ce74afbfd4737f8060.tar.xz
LLVMExports.cmake: Add System libs $(LIBS) to LLVMSupport, corresponding to r201077.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/Makefile b/cmake/modules/Makefile
index bda28c9ce6..055e935860 100644
--- a/cmake/modules/Makefile
+++ b/cmake/modules/Makefile
@@ -71,6 +71,8 @@ $(PROJ_OBJ_DIR)/LLVMExports.cmake: $(LLVMBuildCMakeExportsFrag)
echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \
done && \
cat "$(LLVMBuildCMakeExportsFrag)" \
+ && echo '# System libs depend on LLVMSupport.' \
+ && echo 'set_property(TARGET LLVMSupport PROPERTY IMPORTED_LINK_INTERFACE_LIBRARIES $(patsubst -l%,%,$(LIBS)))' \
) | grep -v gtest > $@
all-local:: $(addprefix $(PROJ_OBJ_DIR)/, $(OBJMODS))