diff options
-rw-r--r-- | Modules/FindOpenGL.cmake | 3 |
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) |