Skip to content

Commit

Permalink
Fix link error on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
PGZXB committed Aug 3, 2024
1 parent 9a3026d commit 9a896ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9a896ed

Please sign in to comment.