diff options
Diffstat (limited to 'functions.cmake')
-rw-r--r-- | functions.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.cmake b/functions.cmake index bfff9d23ef6..42cab0b2052 100644 --- a/functions.cmake +++ b/functions.cmake @@ -1,5 +1,6 @@ # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. # @author Vegard Sjonfjell +# @author Arnstein Ressem function(vespa_add_module_dependency OTHER_TARGET_OR_LIB) if (TARGET ${OTHER_TARGET_OR_LIB}) @@ -557,4 +558,7 @@ function(add_auxilliary_modules) endif() endfunction() +function(install_symlink TARGET LINK) + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_INSTALL_PREFIX}/{TARGET} ${CMAKE_INSTALL_PREFIX}/${LINK})") +endfunction(install_symlink) |