Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2698 for code


Ignore:
Timestamp:
Feb 23, 2009, 11:38:29 PM (16 years ago)
Author:
rgrieder
Message:

Temporary fix for the relative path problem:
On Unix, absolute paths are used always.
On Windows, relative paths are used for the installed version.
That means you cannot relocated orxonox on Unix and you must not run orxonox from another directory than where the executable is on Windows (run scripts still work because they "cd").

File:
1 edited

Legend:

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

    r2689 r2698  
    129129  # Execution paths, either relative to the binary dir or absolute
    130130  # For Windows copy&paste installs relative paths are much better
    131   SET(ORXONOX_MEDIA_INSTALL_PATH_EXEC ../share/orxonox)
     131  SET(ORXONOX_MEDIA_INSTALL_PATH_EXEC  ${ORXONOX_MEDIA_INSTALL_PATH})
    132132  SET(ORXONOX_CONFIG_INSTALL_PATH_EXEC ${ORXONOX_CONFIG_INSTALL_PATH})
    133133  SET(ORXONOX_LOG_INSTALL_PATH_EXEC    ${ORXONOX_LOG_INSTALL_PATH})
     
    143143  # Execution paths, either relative to the binary dir or absolute
    144144  # For Windows copy&paste installs relative paths are much better
    145   SET(ORXONOX_MEDIA_INSTALL_PATH_EXEC ../media)
     145  SET(ORXONOX_MEDIA_INSTALL_PATH_EXEC  ../media)
    146146  SET(ORXONOX_CONFIG_INSTALL_PATH_EXEC ../config)
    147   SET(ORXONOX_LOG_INSTALL_PATH_EXEC ../log)
     147  SET(ORXONOX_LOG_INSTALL_PATH_EXEC    ../log)
    148148ENDIF()
    149149
Note: See TracChangeset for help on using the changeset viewer.