diff options
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/test/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index 4cb962ad6..cea4bbe69 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -81,8 +81,8 @@ else() ei_add_property(EIGEN_MISSING_BACKENDS "fftw, ") endif() -option(EIGEN_TEST_NO_OPENGL "Disable OpenGL support in unit tests" OFF) -if(NOT EIGEN_TEST_NO_OPENGL) +option(EIGEN_TEST_OPENGL "Enable OpenGL support in unit tests" OFF) +if(EIGEN_TEST_OPENGL) find_package(OpenGL) find_package(GLUT) find_package(GLEW) |