Fix Clang install rules to not set permissions on include/
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 10 Feb 2014 10:51:09 +0000 (10:51 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 10 Feb 2014 10:51:09 +0000 (10:51 +0000)
commit3686e38c3d74df38092855a1d12398b5dee9f0a9
tree91e7965519e03490b979fe080416b6781093f9f6
parentc70006e1fcae4b2963d8835dd28162786e25cf34
Fix Clang 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/Clang installation, we should
not ask CMake to manage permissions of that directory for us.  Instead,
give only our own include/clang and include/clang-c subdirectories to
the install(DIRECTORY) command.

Fixes PR4500. Patch by Brad King.

llvm-svn: 201076
clang/CMakeLists.txt