summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-16 12:14:03 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-16 12:14:03 +0000
commit88fae4e86f258336fceea8cdbc8d854777ce2ceb (patch)
tree8ecf073ad1e013108a19fbb2a844780a66f68b42 /cmake
parentf280c65b32358025fd64495c016ccb6f3f70427c (diff)
downloadllvm-88fae4e86f258336fceea8cdbc8d854777ce2ceb.tar.gz
llvm-88fae4e86f258336fceea8cdbc8d854777ce2ceb.tar.bz2
llvm-88fae4e86f258336fceea8cdbc8d854777ce2ceb.tar.xz
LLVMExports.cmake: Exclude gtest since they are not installed.
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
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/Makefile b/cmake/modules/Makefile
index 52140a605f..bda28c9ce6 100644
--- a/cmake/modules/Makefile
+++ b/cmake/modules/Makefile
@@ -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))