1
0
mirror of synced 2024-11-14 19:17:42 +01:00

build: Correctly link OpenGL library on Unix

This commit is contained in:
WerWolv 2021-08-21 22:39:41 +02:00
parent 6e0249d6ea
commit 95d84f78e3

View File

@ -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()