mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix missdetection of GLUT
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user