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 ...@@ -12,20 +12,18 @@ install(FILES
if(NOT BORNAGAIN_APPLE_BUNDLE AND NOT BUILD_DEBIAN) if(NOT BORNAGAIN_APPLE_BUNDLE AND NOT BUILD_DEBIAN)
# Create bin directory for links. # Create bin directory for links.
install(CODE " install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${destination_bin})"
FILE(MAKE_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${destination_bin}\")
"
COMPONENT Runtime) COMPONENT Runtime)
# Make links. # Make links.
install(CODE " install(CODE "
execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink
\"../${destination_libexec}/thisbornagain.sh\" \"thisbornagain.sh\" ../${destination_libexec}/thisbornagain.sh thisbornagain.sh
WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${destination_bin}\") WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${destination_bin})
" COMPONENT Runtime) " COMPONENT Runtime)
install(CODE " install(CODE "
execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink
\"../${destination_libexec}/thisbornagain.csh\" \"thisbornagain.csh\" ../${destination_libexec}/thisbornagain.csh thisbornagain.csh
WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${destination_bin}\") WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${destination_bin})
" COMPONENT Runtime) " COMPONENT Runtime)
else() 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