From 95d84f78e3a8c2995fe407fd039ae5dcf9678ac4 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 21 Aug 2021 22:39:41 +0200 Subject: [PATCH] build: Correctly link OpenGL library on Unix --- external/ImGui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/ImGui/CMakeLists.txt b/external/ImGui/CMakeLists.txt index d47e356c0..d12fd55d5 100644 --- a/external/ImGui/CMakeLists.txt +++ b/external/ImGui/CMakeLists.txt @@ -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()