Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2647


Ignore:
Timestamp:
Feb 12, 2009, 2:53:08 PM (16 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.

Location:
code/branches/buildsystem2/cmake
Files:
3 edited

Legend:

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

    r2628 r2647  
    3535FIND_PATH(CEGUI_INCLUDE_DIR CEGUI.h
    3636  PATHS $ENV{CEGUIDIR}
    37   PATH_SUFFIXES include include/CEGUI
     37  PATH_SUFFIXES include include/CEGUI CEGUI.framework/Headers
    3838)
    3939FIND_LIBRARY(CEGUI_LIBRARY_OPTIMIZED
    40   NAMES CEGUIBase
     40  NAMES CEGUIBase CEGUI
    4141  PATHS $ENV{CEGUIDIR}
    4242  PATH_SUFFIXES lib bin
    4343)
    4444FIND_LIBRARY(CEGUI_LIBRARY_DEBUG
    45   NAMES CEGUIBased CEGUIBase_d
     45  NAMES CEGUIBased CEGUIBase_d CEGUId CEGUI_d
    4646  PATHS $ENV{CEGUIDIR}
    4747  PATH_SUFFIXES lib bin
  • 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
  • code/branches/buildsystem2/cmake/LibraryConfigTardis.cmake

    r2626 r2647  
    2525 #
    2626
    27 IF(UNIX)
     27IF(UNIX AND NOT APPLE)
    2828  FILE(STRINGS /etc/hostname HOSTNAME LIMIT_COUNT 1)
    2929  IF(${HOSTNAME} MATCHES "^tardis-[a-z][0-9][0-9]$")
    3030    SET (TARDIS ON)
    3131  ENDIF()
    32 ENDIF(UNIX)
     32ENDIF()
    3333
    3434IF(TARDIS)
Note: See TracChangeset for help on using the changeset viewer.