[cmake] install_symlink should obey DESTDIR unconditionally
authorJustin Bogner <mail@justinbogner.com>
Thu, 15 Aug 2019 15:36:13 +0000 (15:36 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 15 Aug 2019 15:36:13 +0000 (15:36 +0000)
commite7c220c0ef94c434ffec8bedbf127e7ed8dcf441
treeaf6962309e16440fa4e5d5538858553c0f9eb4b5
parent3de2f0330f4b7b4b099b21a030e19c442f536a83
[cmake] install_symlink should obey DESTDIR unconditionally

Setting DESTDIR was erroneously buried under a condition here - if
it's set it should always be used.

llvm-svn: 369011
llvm/cmake/modules/LLVMInstallSymlink.cmake