summaryrefslogtreecommitdiffstats
path: root/functions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.cmake b/functions.cmake
index c2cb2266bf0..90613d13aa4 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -664,7 +664,7 @@ function(install_jar_dependencies NAME)
endfunction()
function(install_absolute_symlink TARGET LINK)
- install(CODE "execute_process(COMMAND ln -snf ${TARGET} \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${LINK})")
+ install(CODE "execute_process(COMMAND ln -snf ${TARGET} \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${LINK} COMMAND_ERROR_IS_FATAL ANY)")
endfunction(install_absolute_symlink)
function(install_symlink TARGET LINK)