Skip to content

Commit

Permalink
fixup! [cimgui-pack] Build the upstream OpenGL3/GLFW backends
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jun 11, 2024
1 parent a4b1992 commit 2499478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cimgui-pack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif()

if (WIN32)
add_definitions("-DIMGUI_IMPL_API=extern \"C\" __declspec\(dllexport\)")
target_link_libraries(${target} imm32 opengl32)
target_link_libraries(${target} imm32 opengl32 glfw)
else()
add_definitions("-DIMGUI_IMPL_API=extern \"C\" ")
target_link_libraries(${target} "${GLFW_LIBRARY}" GL)
Expand Down

0 comments on commit 2499478

Please sign in to comment.