Rather than excluding quite some things, and still installing
CMakeLists.txt, Makefiles, ... it's better to whitelist what we really want to install. Patch by Ingmar Vanhassel! llvm-svn: 85283
This commit is contained in:
parent
6997c643c6
commit
e814afd7b0
|
|
@ -83,8 +83,12 @@ include_directories(
|
|||
${CMAKE_CURRENT_BINARY_DIR}/include
|
||||
)
|
||||
|
||||
install(DIRECTORY include
|
||||
DESTINATION .
|
||||
install(DIRECTORY include/
|
||||
DESTINATION include
|
||||
FILES_MATCHING
|
||||
PATTERN "*.def"
|
||||
PATTERN "*.h"
|
||||
PATTERN "*.td"
|
||||
PATTERN ".svn" EXCLUDE
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue