[PATCH] D29950: Provide DESTDIR on all platforms

Mateusz MikuĊ‚a via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 11:03:21 PST 2017


mati865 updated this revision to Diff 88400.
mati865 added a comment.

Fixed intend


https://reviews.llvm.org/D29950

Files:
  cmake/modules/LLVMInstallSymlink.cmake


Index: cmake/modules/LLVMInstallSymlink.cmake
===================================================================
--- cmake/modules/LLVMInstallSymlink.cmake
+++ cmake/modules/LLVMInstallSymlink.cmake
@@ -3,9 +3,9 @@
 # See PR8397.
 
 function(install_symlink name target outdir)
+  set(DESTDIR $ENV{DESTDIR})
   if(UNIX)
     set(LINK_OR_COPY create_symlink)
-    set(DESTDIR $ENV{DESTDIR})
   else()
     set(LINK_OR_COPY copy)
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29950.88400.patch
Type: text/x-patch
Size: 440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170214/305bc376/attachment.bin>


More information about the llvm-commits mailing list