Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9165 for code/trunk/cmake


Ignore:
Timestamp:
May 9, 2012, 9:13:13 AM (12 years ago)
Author:
rgrieder
Message:

Fixed OGRE plugin finding for Ubuntu precise. Untested!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/tools/CheckOGREPlugins.cmake

    r9164 r9165  
    5252      NAMES ${_plugin}
    5353      PATHS $ENV{OGRE_HOME} $ENV{OGRE_PLUGIN_DIR}
    54       PATH_SUFFIXES bin/Release bin/release Release release lib lib/OGRE bin Ogre.framework/Resources i386-linux-gnu/OGRE-1.7.4
     54      PATH_SUFFIXES bin/Release bin/release Release release lib lib/OGRE bin Ogre.framework/Resources OGRE-${OGRE_VERSION}
    5555    )
    5656    FIND_LIBRARY(OGRE_PLUGIN_${_plugin}_DEBUG
    5757      NAMES ${_plugin}d ${_plugin}_d ${_plugin}
    5858      PATHS $ENV{OGRE_HOME} $ENV{OGRE_PLUGIN_DIR}
    59       PATH_SUFFIXES bin/Debug bin/debug Debug debug lib lib/OGRE bin Ogre.framework/Resources
     59      PATH_SUFFIXES bin/Debug bin/debug Debug debug lib lib/OGRE bin Ogre.framework/Resources OGRE-${OGRE_VERSION}
    6060    )
    6161    # We only need at least one render system. Check at the end.
Note: See TracChangeset for help on using the changeset viewer.