aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-02-07 02:22:23 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-02-07 02:22:23 +0000
commitcf9efa59668a0c0fe4b2d856f16fc322cdcd8e07 (patch)
treeb92d2b5631eae4ec92cd3adf3667ebfa1a0739ec
parent953a2a3dee46bebd70b129fd62709710f5f2b033 (diff)
downloadexternal_llvm-cf9efa59668a0c0fe4b2d856f16fc322cdcd8e07.zip
external_llvm-cf9efa59668a0c0fe4b2d856f16fc322cdcd8e07.tar.gz
external_llvm-cf9efa59668a0c0fe4b2d856f16fc322cdcd8e07.tar.bz2
Install only *.cmake files. Don't install .svn directory.
Fixes PR9159. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125001 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--cmake/modules/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt
index 8448486..9365743 100644
--- a/cmake/modules/CMakeLists.txt
+++ b/cmake/modules/CMakeLists.txt
@@ -13,7 +13,8 @@ install(FILES
install(DIRECTORY .
DESTINATION share/llvm/cmake
- PATTERN *.cmake
+ FILES_MATCHING PATTERN *.cmake
+ PATTERN .svn EXCLUDE
PATTERN LLVM.cmake EXCLUDE
PATTERN LLVMConfig.cmake EXCLUDE
PATTERN LLVMLibDeps.cmake EXCLUDE