Changeset 823 for code/branches/hud/cmake
- Timestamp:
- Feb 17, 2008, 5:42:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/cmake/FindOGRE.cmake
r790 r823 7 7 # OGRE_FOUND, If false, do not try to use OGRE 8 8 # 9 # Copyright ©2007, Matt Williams9 # Copyright � 2007, Matt Williams 10 10 # Modified by Nicolas Schlumberger to make it work on the Tardis-Infrastucture of the ETH Zurich 11 11 # … … 18 18 IF (WIN32) #Windows 19 19 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) 22 22 SET(OGRE_LIBRARIES debug OgreMain_d optimized OgreMain) 23 23 ELSE (WIN32) #Unix 24 24 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 hack25 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 26 26 SET(OGRE_INCLUDE_DIR ${OGRE_INCLUDE_DIRS}) 27 27 SET(OGRE_LIB_DIR ${OGRE_LIBDIR})
Note: See TracChangeset
for help on using the changeset viewer.