diff options
author | Arnstein Ressem <aressem@oath.com> | 2018-08-06 13:28:31 +0200 |
---|---|---|
committer | Arnstein Ressem <aressem@oath.com> | 2018-08-06 13:28:31 +0200 |
commit | bd5065a55f3316b9dd4552bb10882cb57b519ba7 (patch) | |
tree | babedcbde1e65bdedcb2fe63954e614a866ef1e2 /functions.cmake | |
parent | 9d88de3479398c1fcdc6738d9f659bd8f8d899e6 (diff) |
Use ln instead of cmake for generating links as this will allow to link files in an offset install tree.
Diffstat (limited to 'functions.cmake')
-rw-r--r-- | functions.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.cmake b/functions.cmake index 1387da6c148..04c72014833 100644 --- a/functions.cmake +++ b/functions.cmake @@ -559,6 +559,6 @@ function(add_auxilliary_modules) endfunction() function(install_symlink TARGET LINK) - install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_INSTALL_PREFIX}/${TARGET} ${LINK})") + install(CODE "execute_process(COMMAND ln -sf ${CMAKE_INSTALL_PREFIX}/${TARGET} ${LINK})") endfunction(install_symlink) |