We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b607c12 commit 8d4daeaCopy full SHA for 8d4daea
CMakeLists.txt
@@ -272,6 +272,10 @@ set(OGRE_Paging_LIBRARIES ${OGRE_NEXT}Paging)
272
set(OGRE_Terrain_LIBRARIES ${OGRE_NEXT}Terrain)
273
set(OGRE_Volume_LIBRARIES ${OGRE_NEXT}Volume)
274
275
+if( OGRE_STATIC AND UNIX AND NOT OGRE_CONFIG_UNIX_NO_X11 )
276
+ set( OGRE_LIBRARIES ${OGRE_LIBRARIES} xcb xcb-randr )
277
+endif()
278
+
279
# Specify build paths
280
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${OGRE_BINARY_DIR}/lib")
281
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${OGRE_BINARY_DIR}/lib")
0 commit comments