mirror of https://github.com/CGAL/cgal
On Windows, OPENGL_INCLUDE_DIR is empty even when OpenGL is found
This commit is contained in:
parent
a95ae40c65
commit
561bd80d96
|
|
@ -287,7 +287,9 @@ if( NOT CGAL_MACROS_FILE_INCLUDED )
|
|||
|
||||
if (OPENGL_FOUND)
|
||||
add_definitions("${OPENGL_DEFINITIONS}")
|
||||
include_directories( SYSTEM "${OPENGL_INCLUDE_DIR}" )
|
||||
if ( NOT "${OPENGL_INCLUDE_DIR}" STREQUAL "" )
|
||||
include_directories( SYSTEM "${OPENGL_INCLUDE_DIR}" )
|
||||
endif ()
|
||||
endif(OPENGL_FOUND)
|
||||
|
||||
if(ZLIB_FOUND)
|
||||
|
|
|
|||
Loading…
Reference in New Issue