Fix LLVM install rules to not set permissions on include/
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 10 Feb 2014 10:50:55 +0000 (10:50 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 10 Feb 2014 10:50:55 +0000 (10:50 +0000)
commit282713c09b592e0d49d3c34e6b3bf62462a17933
tree107cd871320914b6d5d367547776950c998d761e
parent0eefad30d46364aeec0c5264153a02856d76e2c1
Fix LLVM install rules to not set permissions on include/

The CMake install(DIRECTORY) command documents that it sets permissions
on directories it is asked to install.  Since the <prefix>/include
directory may not be exclusive to the LLVM installation, we should not
ask CMake to manage permissions of that directory for us.  Instead, give
only our own include/llvm and include/llvm-c subdirectories to the
install(DIRECTORY) command.

Fixes PR4500. Patch by Brad King.

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