LLVMExports.cmake: Exclude gtest since they are not installed.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Feb 2014 12:14:03 +0000 (12:14 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Feb 2014 12:14:03 +0000 (12:14 +0000)
FIXME: gtest might be included if external project could refer to the build tree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201488 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/Makefile

index 52140a605fe7072d865f6ff178d502254d075f83..bda28c9ce6691e058ce8285084a9cdbfb23a88b6 100644 (file)
@@ -71,7 +71,7 @@ $(PROJ_OBJ_DIR)/LLVMExports.cmake: $(LLVMBuildCMakeExportsFrag)
            echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \
          done && \
          cat "$(LLVMBuildCMakeExportsFrag)" \
-       ) > $@
+       ) | grep -v gtest > $@
 
 all-local:: $(addprefix $(PROJ_OBJ_DIR)/, $(OBJMODS))