summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-11-12 15:47:43 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-11-12 15:47:43 (GMT)
commit1d7c2eaf909745ef4e0d8bc8d09df336fab08f49 (patch)
tree90d7687787dc7b9e3618f78c42212708bd3420d4 /Modules/FindOpenGL.cmake
parent59d623dc66622e8d810ec4a403eecb87711bcfa3 (diff)
downloadCMake-1d7c2eaf909745ef4e0d8bc8d09df336fab08f49.zip
CMake-1d7c2eaf909745ef4e0d8bc8d09df336fab08f49.tar.gz
CMake-1d7c2eaf909745ef4e0d8bc8d09df336fab08f49.tar.bz2
FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 565d807..d956de5 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -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)