mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-24 16:41:37 +00:00
CMake changes for using Ogre Overlay.
This commit is contained in:
parent
5ffb740120
commit
3aea1bf5f9
2 changed files with 51 additions and 48 deletions
|
@ -198,6 +198,7 @@ endif(APPLE)
|
||||||
|
|
||||||
target_link_libraries(opencs
|
target_link_libraries(opencs
|
||||||
${OGRE_LIBRARIES}
|
${OGRE_LIBRARIES}
|
||||||
|
${OGRE_Overlay_LIBRARIES}
|
||||||
${OGRE_STATIC_PLUGINS}
|
${OGRE_STATIC_PLUGINS}
|
||||||
${SHINY_LIBRARIES}
|
${SHINY_LIBRARIES}
|
||||||
${Boost_LIBRARIES}
|
${Boost_LIBRARIES}
|
||||||
|
|
|
@ -124,7 +124,7 @@ else()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# redo search if any of the environmental hints changed
|
# redo search if any of the environmental hints changed
|
||||||
set(OGRE_COMPONENTS Paging Terrain
|
set(OGRE_COMPONENTS Paging Terrain Overlay
|
||||||
Plugin_BSPSceneManager Plugin_CgProgramManager Plugin_OctreeSceneManager
|
Plugin_BSPSceneManager Plugin_CgProgramManager Plugin_OctreeSceneManager
|
||||||
Plugin_OctreeZone Plugin_PCZSceneManager Plugin_ParticleFX
|
Plugin_OctreeZone Plugin_PCZSceneManager Plugin_ParticleFX
|
||||||
RenderSystem_Direct3D10 RenderSystem_Direct3D9 RenderSystem_GL RenderSystem_GLES2)
|
RenderSystem_Direct3D10 RenderSystem_Direct3D9 RenderSystem_GL RenderSystem_GLES2)
|
||||||
|
@ -377,6 +377,8 @@ endmacro()
|
||||||
|
|
||||||
# look for Paging component
|
# look for Paging component
|
||||||
ogre_find_component(Paging OgrePaging.h)
|
ogre_find_component(Paging OgrePaging.h)
|
||||||
|
# look for Overlay component
|
||||||
|
ogre_find_component(Overlay OgreOverlay.h)
|
||||||
# look for Terrain component
|
# look for Terrain component
|
||||||
ogre_find_component(Terrain OgreTerrain.h)
|
ogre_find_component(Terrain OgreTerrain.h)
|
||||||
# look for Property component
|
# look for Property component
|
||||||
|
|
Loading…
Reference in a new issue