Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2009, 2:53:08 PM (15 years ago)
Author:
rgrieder
Message:

Merged Chai's work on Apple. I wasn't able to do the trick with CheckOGREPlugins.cmake though because I don't really know how plugins work on OSX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/cmake/FindOGRE.cmake

    r2628 r2647  
    2323FIND_PATH(OGRE_INCLUDE_DIR Ogre.h
    2424  PATHS $ENV{OGRE_HOME}
    25   PATH_SUFFIXES include include/OGRE
     25  PATH_SUFFIXES include include/OGRE Ogre.framework/Headers
    2626)
    2727FIND_LIBRARY(OGRE_LIBRARY_OPTIMIZED
    28   NAMES OgreMain
     28  NAMES OgreMain Ogre
    2929  PATHS $ENV{OGRE_HOME}
    3030  PATH_SUFFIXES lib bin/Release bin/release Release release
    3131)
    3232FIND_LIBRARY(OGRE_LIBRARY_DEBUG
    33   NAMES OgreMaind OgreMain_d
     33  NAMES OgreMaind OgreMain_d Ogred Ogre_d
    3434  PATHS $ENV{OGRE_HOME}
    35   PATH_SUFFIXES lib bin/Debug bin/debug Debug debug
     35  PATH_SUFFIXES lib bin/Debug bin/debug Debug debug Versions/A
    3636)
    3737
Note: See TracChangeset for help on using the changeset viewer.