Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 30, 2010, 11:08:38 PM (14 years ago)
Author:
youngk
Message:

Changed handling of the dependency package and increased consistence for options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/src/SpecialConfig.h.in

    r7450 r7682  
    9494
    9595    // OGRE PLUGINS
     96    // Apple has trouble finding OGRE plugins because of its install-name convention
     97    // Adopting the executable_path structure for later use in app bundles
    9698#ifdef NDEBUG
    9799    const char ogrePlugins[] = "@OGRE_PLUGINS_RELEASE@";
    98100#  ifdef DEPENDENCY_PACKAGE_ENABLE
    99     const char ogrePluginsDirectory[] = ".";
     101#    ifdef ORXONOX_PLATFORM_APPLE
     102       const char ogrePluginsDirectory[] = "@executable_path/../Plugins";
     103#    else
     104       const char ogrePluginsDirectory[] = ".";
     105#    endif
    100106#  else
    101107    const char ogrePluginsDirectory[] = "@OGRE_PLUGINS_FOLDER_RELEASE@";
     
    104110    const char ogrePlugins[] = "@OGRE_PLUGINS_DEBUG@";
    105111#  ifdef DEPENDENCY_PACKAGE_ENABLE
    106     const char ogrePluginsDirectory[] = ".";
     112#    ifdef ORXONOX_PLATFORM_APPLE
     113       const char ogrePluginsDirectory[] = "@OGRE_PLUGINS_FOLDER_DEBUG@";
     114#    else
     115       const char ogrePluginsDirectory[] = ".";
     116#    endif
    107117#  else
    108118    const char ogrePluginsDirectory[] = "@OGRE_PLUGINS_FOLDER_DEBUG@";
Note: See TracChangeset for help on using the changeset viewer.