diff --git a/cmake-scripts/external-libs.cmake b/cmake-scripts/external-libs.cmake index 7f567ac43..4d64b58fa 100644 --- a/cmake-scripts/external-libs.cmake +++ b/cmake-scripts/external-libs.cmake @@ -189,7 +189,7 @@ if (ENABLE_OPENGL) endif() if (OPENGL_GLU_FOUND) - list(APPEND ASY_MACROS HAVE_GL) + list(APPEND ASY_MACROS HAVE_LIBGL) else() message(FATAL_ERROR "GL components incomplete; will not use OpenGL") endif()