Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2719 for code/trunk/cmake


Ignore:
Timestamp:
Mar 1, 2009, 5:13:56 PM (16 years ago)
Author:
rgrieder
Message:

Copyable installation could not find the shared libraries on Unix. Installing them to bin/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/BuildConfig.cmake

    r2710 r2719  
    7070ENDIF()
    7171
    72 OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)")
    73 
    7472
    7573################# OGRE Plugins ##################
     
    9189
    9290################ Compiler Config ################
     91
     92OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)")
    9393
    9494INCLUDE(FlagUtilities)
     
    141141  # For CMake operations CMAKE_INSTALL_PREFIX is always appended.
    142142  SET(ORXONOX_RUNTIME_INSTALL_PATH ${DEFAULT_RUNTIME_PATH})
    143   SET(ORXONOX_LIBRARY_INSTALL_PATH ${DEFAULT_LIBRARY_PATH})
     143  # Also use runtime directory to have the libraries found when executing from anywhere
     144  SET(ORXONOX_LIBRARY_INSTALL_PATH ${DEFAULT_RUNTIME_PATH})
    144145  SET(ORXONOX_ARCHIVE_INSTALL_PATH ${DEFAULT_ARCHIVE_PATH})
    145146  SET(ORXONOX_DOC_INSTALL_PATH     ${DEFAULT_DOC_PATH})
Note: See TracChangeset for help on using the changeset viewer.