diff --git a/cmake/FindOGRE.cmake b/cmake/FindOGRE.cmake index 24a26ccc7..6da396a5f 100644 --- a/cmake/FindOGRE.cmake +++ b/cmake/FindOGRE.cmake @@ -378,6 +378,11 @@ endmacro() # look for Paging component ogre_find_component(Paging OgrePaging.h) # look for Overlay component +if(APPLE) + ogre_find_component(OgreOverlay OgreOverlaySystem.h) +else() + ogre_find_component(Overlay OgreOverlaySystem.h) +endif() ogre_find_component(Overlay OgreOverlay.h) # look for Terrain component ogre_find_component(Terrain OgreTerrain.h)