[CMake] Support symlinks with the same name as the binary
authorChris Bieneman <beanz@apple.com>
Fri, 16 Sep 2016 22:19:19 +0000 (22:19 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 16 Sep 2016 22:19:19 +0000 (22:19 +0000)
commit6ee60bcf9b8048e7cdbf7caf99c5340e7e72091f
tree53cb31eee2befc39c8943dcac61e6b62a7f58e69
parentf26710d97d9c272be8a55d26a8ad80b6ad978247
[CMake] Support symlinks with the same name as the binary

This supports creating symlinks to tools in different directories than
the tool is built to. This is useful for the LLDB framework build which
I’m sending patches for shortly.

llvm-svn: 281788
llvm/cmake/modules/AddLLVM.cmake