diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c86f891afc..570e24b3017 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -301,7 +301,7 @@ set(OGRE_Paging_LIBRARIES ${OGRE_NEXT}Paging) set(OGRE_Terrain_LIBRARIES ${OGRE_NEXT}Terrain) set(OGRE_Volume_LIBRARIES ${OGRE_NEXT}Volume) -if( OGRE_STATIC AND UNIX AND NOT OGRE_CONFIG_UNIX_NO_X11 ) +if( OGRE_STATIC AND UNIX AND NOT APPLE AND NOT OGRE_CONFIG_UNIX_NO_X11 ) set( OGRE_LIBRARIES ${OGRE_LIBRARIES} xcb xcb-randr ) endif()