mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 17:49:36 +08:00
fix missdetection of GLUT
This commit is contained in:
parent
aa2b46aa91
commit
ba212aeaa9
@ -94,9 +94,9 @@ endif()
|
||||
|
||||
find_package(OpenGL)
|
||||
find_package(GLUT)
|
||||
if(OPENGL_FOUND AND GLUT_FOUND)
|
||||
if(OPENGL_FOUND AND GLUT_FOUND AND GLUT_LIBRARIES)
|
||||
ei_add_property(EIGEN_TESTED_BACKENDS "opengl, ")
|
||||
ei_add_test(openglsupport "" "${GLUT_LIBRARY}" )
|
||||
ei_add_test(openglsupport "" "${GLUT_LIBRARIES}" )
|
||||
else()
|
||||
ei_add_property(EIGEN_MISSING_BACKENDS "opengl, ")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user