Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 24, 2011, 5:46:26 AM (14 years ago)
Author:
rgrieder
Message:

Do not specify the CMAKE_INSTALL_PREFIX when using the INSTALL command. It works too, but is not recommended and breaks CPack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/bin/CMakeLists.txt

    r7801 r8317  
    6969# Make a symlink to be able to run from the root directory when installing copyable on Unix
    7070IF(UNIX AND INSTALL_COPYABLE)
    71   INSTAll(CODE "EXECUTE_PROCESS(COMMAND ln -sf ${RUNTIME_INSTALL_DIRECTORY}/${ORXONOX_EXECUTABLE_NAME} ${CMAKE_INSTALL_PREFIX}/orxonox)")
     71  INSTAll(CODE "EXECUTE_PROCESS(COMMAND cmake -E create_symlink \"${CMAKE_INSTALL_PREFIX}/${RUNTIME_INSTALL_DIRECTORY}/${ORXONOX_EXECUTABLE_NAME}\" \"${CMAKE_INSTALL_PREFIX}/${ORXONOX_EXECUTABLE_NAME}\")")
    7272ENDIF()
Note: See TracChangeset for help on using the changeset viewer.