From 1d7c2eaf909745ef4e0d8bc8d09df336fab08f49 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Tue, 12 Nov 2002 10:47:43 -0500 Subject: [PATCH] FIX: minor fix, OPENGL_INCLUDE_PATH was set 2 times --- Modules/FindOpenGL.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake index 565d807e8..d956de508 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)