mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Correctly link OpenGL library on Unix
This commit is contained in:
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()
|
||||
|
||||
Reference in New Issue
Block a user