diff --git a/unsupported/test/CMakeLists.txt b/unsupported/test/CMakeLists.txt index dd9b3a89b..3c6c61b67 100644 --- a/unsupported/test/CMakeLists.txt +++ b/unsupported/test/CMakeLists.txt @@ -103,7 +103,9 @@ if(NOT EIGEN_TEST_NO_OPENGL) else() ei_add_property(EIGEN_MISSING_BACKENDS "OpenGL, ") endif() -endif(NOT EIGEN_TEST_NO_OPENGL) +else() + ei_add_property(EIGEN_MISSING_BACKENDS "OpenGL, ") +endif() find_package(GSL) if(GSL_FOUND AND GSL_VERSION_MINOR LESS 9)