Commit 5b02ea61 authored by Sebastien Barre's avatar Sebastien Barre
Browse files

FIX: we *need* OPENGL_INCLUDE_DIR, since OPENGL_INCLUDE_PATH is *not* in the cache

parent 5d9d124d
......@@ -125,6 +125,12 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF(WIN32)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
IF (OPENGL_INCLUDE_DIR)
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
ENDIF(OPENGL_INCLUDE_DIR)
# This one because OPENGL_INCLUDE_PATH is also defined for backward compatibility
IF (OPENGL_INCLUDE_PATH)
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_PATH})
ENDIF(OPENGL_INCLUDE_PATH)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment