summaryrefslogtreecommitdiffstats
path: root/functions.cmake
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@oath.com>2018-07-31 14:23:38 +0200
committerArnstein Ressem <aressem@oath.com>2018-07-31 14:23:38 +0200
commit9d88de3479398c1fcdc6738d9f659bd8f8d899e6 (patch)
tree94cc523b2bdb6786fdd810ca08926a65f79e53fb /functions.cmake
parentf82b84a9d41eb2f59598ef1531d91b9afc04262d (diff)
Only use install prefix on target.
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 42cab0b2052..1387da6c148 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} ${CMAKE_INSTALL_PREFIX}/${LINK})")
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_INSTALL_PREFIX}/${TARGET} ${LINK})")
endfunction(install_symlink)