From c3b41e31fbd07029f60fd1237a7e6ca73da93f1d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 11 Nov 2008 18:39:10 +0000 Subject: [PATCH] "a patch telling cmake to install clang headers in the target install directory" Patch by Lukasz Janyst! llvm-svn: 59059 --- clang/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index a033a9b15b6e..121e598b54f7 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -32,6 +32,11 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/include ) +install(DIRECTORY include + DESTINATION . + PATTERN ".svn" EXCLUDE + ) + add_definitions( -D_GNU_SOURCE ) add_subdirectory(lib)