better fix for win32

This commit is contained in:
Ken Martin 2003-01-09 15:54:29 -05:00
parent 75856e1762
commit 382d0d4474
1 changed files with 4 additions and 7 deletions

View File

@ -104,7 +104,6 @@ ELSE (WIN32)
ENDIF (WIN32)
SET( OPENGL_FOUND "NO" )
IF(OPENGL_INCLUDE_DIR)
IF(OPENGL_gl_LIBRARY)
IF(OPENGL_xmesa_INCLUDE_DIR)
@ -130,10 +129,8 @@ IF(OPENGL_INCLUDE_DIR)
ENDIF(OPENGL_gl_LIBRARY)
# This deprecated setting is for backward compatibility with CMake1.4
SET(OPENGL_INCLUDE_PATH ${OPENGL_INCLUDE_DIR})
ENDIF(OPENGL_INCLUDE_DIR)
# On OSX, OpenGL is always there - this will need refining for those
# using OpenGL with X11