You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,21 +0,0 @@
|
||||
# We need to execute this script at installation time because the
|
||||
# DESTDIR environment variable may be unset at configuration time.
|
||||
# See PR8397.
|
||||
|
||||
function(install_symlink name target outdir)
|
||||
if(UNIX)
|
||||
set(LINK_OR_COPY create_symlink)
|
||||
set(DESTDIR $ENV{DESTDIR})
|
||||
else()
|
||||
set(LINK_OR_COPY copy)
|
||||
endif()
|
||||
|
||||
set(bindir "${DESTDIR}${CMAKE_INSTALL_PREFIX}/${outdir}/")
|
||||
|
||||
message("Creating ${name}")
|
||||
|
||||
execute_process(
|
||||
COMMAND "${CMAKE_COMMAND}" -E ${LINK_OR_COPY} "${target}" "${name}"
|
||||
WORKING_DIRECTORY "${bindir}")
|
||||
|
||||
endfunction()
|
Reference in New Issue
Block a user