FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times

This commit is contained in:
Sebastien Barre 2002-11-12 10:47:43 -05:00
parent 59d623dc66
commit 1d7c2eaf90
1 changed files with 3 additions and 3 deletions

View File

@ -133,14 +133,14 @@ IF(OPENGL_INCLUDE_DIR)
SET( OPENGL_FOUND "YES" )
# The following deprecated settings are for backwards
# compatibility with CMake1.4
# This deprecated setting is for backward compatibility with CMake1.4
SET (OPENGL_LIBRARY ${OPENGL_LIBRARIES})
SET (OPENGL_INCLUDE_PATH ${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)