Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2686


Ignore:
Timestamp:
Feb 20, 2009, 6:30:42 PM (15 years ago)
Author:
rgrieder
Message:

Fixed Unix install: '~' is not accepted when opening files in C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem3/cmake/BuildConfig.cmake

    r2685 r2686  
    123123  SET(ORXONOX_MEDIA_INSTALL_PATH   ${CMAKE_INSTALL_PREFIX}/share/orxonox)
    124124  SET(ORXONOX_DOC_INSTALL_PATH     ${CMAKE_INSTALL_PREFIX}/share/doc/orxonox)
    125   SET(ORXONOX_LOG_INSTALL_PATH     ~/.orxonox/log)
    126   SET(ORXONOX_CONFIG_INSTALL_PATH  ~/.orxonox/config)
     125  GET_FILENAME_COMPONENT(USER_DIR ~ ABSOLUTE)
     126  SET(ORXONOX_LOG_INSTALL_PATH     ${USER_DIR}/.orxonox/log)
     127  SET(ORXONOX_CONFIG_INSTALL_PATH  ${USER_DIR}/.orxonox/config)
    127128ELSEIF(WIN32)
    128129  SET(ORXONOX_RUNTIME_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/bin)
Note: See TracChangeset for help on using the changeset viewer.