Skip to content
Snippets Groups Projects
Commit 887b0f6d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

ctd

parent e5e2a37b
No related branches found
No related tags found
No related merge requests found
......@@ -12,20 +12,18 @@ install(FILES
if(NOT BORNAGAIN_APPLE_BUNDLE AND NOT BUILD_DEBIAN)
# Create bin directory for links.
install(CODE "
FILE(MAKE_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${destination_bin}\")
"
install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${destination_bin})"
COMPONENT Runtime)
# Make links.
install(CODE "
execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink
\"../${destination_libexec}/thisbornagain.sh\" \"thisbornagain.sh\"
WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${destination_bin}\")
../${destination_libexec}/thisbornagain.sh thisbornagain.sh
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${destination_bin})
" COMPONENT Runtime)
install(CODE "
execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink
\"../${destination_libexec}/thisbornagain.csh\" \"thisbornagain.csh\"
WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${destination_bin}\")
../${destination_libexec}/thisbornagain.csh thisbornagain.csh
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${destination_bin})
" COMPONENT Runtime)
else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment