Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 17, 2008, 5:42:44 PM (17 years ago)
Author:
nicolasc
Message:

added chai's hud

File:
1 edited

Legend:

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

    r790 r823  
    77#  OGRE_FOUND, If false, do not try to use OGRE
    88#
    9 # Copyright © 2007, Matt Williams
     9# Copyright 2007, Matt Williams
    1010# Modified by Nicolas Schlumberger to make it work on the Tardis-Infrastucture of the ETH Zurich
    1111#
     
    1818IF (WIN32) #Windows
    1919    MESSAGE(STATUS "Looking for OGRE")
    20     SET(OGRE_INCLUDE_DIR ../libs/ogre/OgreMain/include)
    21     SET(OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../libs/ogre/Samples/Common/bin/Release)
     20    SET(OGRE_INCLUDE_DIR /usr/include/OGRE ../libs/ogre/OgreMain/include)
     21    SET(OGRE_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/usr/include/OGRE ${CMAKE_CURRENT_SOURCE_DIR}/../libs/ogre/Samples/Common/bin/Release)
    2222    SET(OGRE_LIBRARIES debug OgreMain_d optimized OgreMain)
    2323ELSE (WIN32) #Unix
    2424    FIND_PACKAGE(PkgConfig)
    25     PKG_SEARCH_MODULE(OGRE OGRE /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig/OGRE.pc) # tardis specific hack
     25    PKG_SEARCH_MODULE(OGRE OGRE /usr/include/OGRE /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig/OGRE.pc) # tardis specific hack
    2626    SET(OGRE_INCLUDE_DIR ${OGRE_INCLUDE_DIRS})
    2727    SET(OGRE_LIB_DIR ${OGRE_LIBDIR})
Note: See TracChangeset for help on using the changeset viewer.