build: Correctly link OpenGL library on Unix
This commit is contained in:
parent
6e0249d6ea
commit
95d84f78e3
2
external/ImGui/CMakeLists.txt
vendored
2
external/ImGui/CMakeLists.txt
vendored
@ -43,5 +43,5 @@ target_link_directories(imgui PUBLIC ${GLM_INCLUDE_DIRS} ${GLFW_LIBRARY_DIRS})
|
||||
if (WIN32)
|
||||
target_link_libraries(imgui Freetype::Freetype glfw3 opengl32.lib)
|
||||
elseif (UNIX)
|
||||
target_link_libraries(imgui Freetype::Freetype glfw)
|
||||
target_link_libraries(imgui Freetype::Freetype glfw GL)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user