mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user