summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-09-04 13:24:50 (GMT)
committerBrad King <brad.king@kitware.com>2002-09-04 13:24:50 (GMT)
commit61ab3e3667cd5bd2e8b880b429f4a9dfae4d20fa (patch)
tree871002cd30973a461d787429b125c6045840e166 /Modules/FindOpenGL.cmake
parent0059db268c93e9aa119f36d8e977bbd4a56ba7b2 (diff)
downloadCMake-61ab3e3667cd5bd2e8b880b429f4a9dfae4d20fa.zip
CMake-61ab3e3667cd5bd2e8b880b429f4a9dfae4d20fa.tar.gz
CMake-61ab3e3667cd5bd2e8b880b429f4a9dfae4d20fa.tar.bz2
ERR: Still need to define OPENGL_INCLUDE_PATH in addition to the standard OPENGL_INCLUDE_DIR for backward compatability.
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 2792b33..b2f46dd 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -136,4 +136,7 @@ IF(OPENGL_INCLUDE_DIR)
SET (OPENGL_INCLUDE_PATH ${OPENGL_INCLUDE_DIR})
ENDIF(OPENGL_gl_LIBRARY)
+
+ SET(OPENGL_INCLUDE_PATH ${OPENGL_INCLUDE_DIR})
+
ENDIF(OPENGL_INCLUDE_DIR)