From 1f34f3676b877a802b1623ef23b514e66f9eb89e Mon Sep 17 00:00:00 2001 From: PGZXB Date: Sun, 4 Aug 2024 02:57:35 +0800 Subject: [PATCH] Fix link error on linux --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d683c6b..0cc86f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ if(IMGUI4CJ_GLFW_OPENGL3_BACKEND) find_package(OpenGL REQUIRED) if (OPENGL_FOUND) - list(APPEND IMGUI_LIBRARIES ${OPENGL_gl_LIBRARY}) + list(APPEND IMGUI_LIBRARIES ${OPENGL_LIBRARY}) else (OPENGL_FOUND) message(FATAL_ERROR "OpenGL not found") endif()