mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
cmake:add -x11 flag
Found this in a patch http://slackbuilds.org/repository/14.2/games/megaglest/?search=megaglest
This commit is contained in:
@@ -111,7 +111,7 @@ IF(BUILD_MODEL_VIEWER OR BUILD_MAP_EDITOR OR BUILD_ZETAGLEST)
|
||||
FIND_PACKAGE(OpenGL REQUIRED)
|
||||
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
|
||||
IF(UNIX)
|
||||
SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${OPENGL_LIBRARY})
|
||||
SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${OPENGL_LIBRARY} -lX11)
|
||||
ENDIF()
|
||||
|
||||
FIND_PACKAGE(X11 REQUIRED)
|
||||
|
Reference in New Issue
Block a user