From: NAKAMURA Takumi Date: Sun, 16 Feb 2014 12:14:13 +0000 (+0000) Subject: LLVMExports.cmake: Add System libs $(LIBS) to LLVMSupport, corresponding to r201077. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=789f722abd3baca365ea01ce74afbfd4737f8060;p=oota-llvm.git 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 --- diff --git a/cmake/modules/Makefile b/cmake/modules/Makefile index bda28c9ce66..055e9358601 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))