FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times
This commit is contained in:
parent
59d623dc66
commit
1d7c2eaf90
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue