llvm.org GIT mirror llvm / b552dbc
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369011 91177308-0d34-0410-b5e6-96231b3b80d8 Justin Bogner 2 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22 # See PR8397.
33
44 function(install_symlink name target outdir)
5 set(DESTDIR $ENV{DESTDIR})
56 if(CMAKE_HOST_UNIX)
67 set(LINK_OR_COPY create_symlink)
7 set(DESTDIR $ENV{DESTDIR})
88 else()
99 set(LINK_OR_COPY copy)
1010 endif()