ERR: Shouldn't be adding xlibs to opengllibs on osx
This commit is contained in:
parent
afc74398d3
commit
a4d0758e22
|
@ -92,11 +92,14 @@ ELSE (WIN32)
|
|||
# On Unix OpenGL most certainly always requires X11.
|
||||
# Feel free to tighten up these conditions if you don't
|
||||
# think this is always true.
|
||||
# It's not true on OSX.
|
||||
|
||||
IF (OPENGL_gl_LIBRARY)
|
||||
INCLUDE( ${CMAKE_ROOT}/Modules/FindX11.cmake )
|
||||
IF (X11_FOUND)
|
||||
SET (OPENGL_LIBRARIES ${X11_LIBRARIES})
|
||||
IF (NOT APPLE)
|
||||
SET (OPENGL_LIBRARIES ${X11_LIBRARIES})
|
||||
ENDIF (NOT APPLE)
|
||||
ENDIF (X11_FOUND)
|
||||
ENDIF (OPENGL_gl_LIBRARY)
|
||||
|
||||
|
|
Loading…
Reference in New Issue