mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 00:21:49 +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(OpenGL)
|
||||||
find_package(GLUT)
|
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_property(EIGEN_TESTED_BACKENDS "opengl, ")
|
||||||
ei_add_test(openglsupport "" "${GLUT_LIBRARY}" )
|
ei_add_test(openglsupport "" "${GLUT_LIBRARIES}" )
|
||||||
else()
|
else()
|
||||||
ei_add_property(EIGEN_MISSING_BACKENDS "opengl, ")
|
ei_add_property(EIGEN_MISSING_BACKENDS "opengl, ")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user