[CMake] More cleanup of installing symlinks.
authorChris Bieneman <beanz@apple.com>
Fri, 18 Sep 2015 17:39:58 +0000 (17:39 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Sep 2015 17:39:58 +0000 (17:39 +0000)
commitf8d6e92d57aacf9388e8ed87cc43b22bd3367c4f
treed333412d228e34b6f8e451dc5483a7b735fe48af
parent068d9ce82714f6e3537d551c7adee1cb56abeb9e
[CMake] More cleanup of installing symlinks.

In order to support building clang out-of-tree the install_symlink script needs to be installed, and it needs to be found by searching the CMAKE_MODULE_PATH.

This change renames install_symlink -> LLVMInstallSymlink so it doesn't conflict with naming from other projects, and adds searching behavior in AddLLVM.cmake

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248009 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
cmake/modules/LLVMInstallSymlink.cmake [new file with mode: 0644]
cmake/modules/install_symlink.cmake [deleted file]