From: Chris Lattner Date: Tue, 11 Nov 2008 18:39:10 +0000 (+0000) Subject: "a patch telling cmake to install clang headers in the target X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc6ec759afc13ebbdd755e04e849beeacf363ccb;p=clang "a patch telling cmake to install clang headers in the target install directory" Patch by Lukasz Janyst! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59059 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a033a9b15b..121e598b54 100644 --- a/CMakeLists.txt +++ b/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)