[llvm] r201489 - LLVMExports.cmake: Add System libs $(LIBS) to LLVMSupport, corresponding to r201077.

NAKAMURA Takumi geek4civic at gmail.com
Sun Feb 16 04:14:13 PST 2014


Author: chapuni
Date: Sun Feb 16 06:14:13 2014
New Revision: 201489

URL: http://llvm.org/viewvc/llvm-project?rev=201489&view=rev
Log:
LLVMExports.cmake: Add System libs $(LIBS) to LLVMSupport, corresponding to r201077.

Modified:
    llvm/trunk/cmake/modules/Makefile

Modified: llvm/trunk/cmake/modules/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/Makefile?rev=201489&r1=201488&r2=201489&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/Makefile (original)
+++ llvm/trunk/cmake/modules/Makefile Sun Feb 16 06:14:13 2014
@@ -71,6 +71,8 @@ $(PROJ_OBJ_DIR)/LLVMExports.cmake: $(LLV
 	    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))





More information about the llvm-commits mailing list