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 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)