]> granicus.if.org Git - clang/commitdiff
"a patch telling cmake to install clang headers in the target
authorChris Lattner <sabre@nondot.org>
Tue, 11 Nov 2008 18:39:10 +0000 (18:39 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Nov 2008 18:39:10 +0000 (18:39 +0000)
install directory"

Patch by Lukasz Janyst!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59059 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index a033a9b15b6e2ffdfefcea85dc953ec8df22600b..121e598b54f7e3d96d16c67fa1eaf619614b3186 100644 (file)
@@ -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)