kswaldemar / rewind-viewer

Fast match viewer with rewinding support for Russian AI Cup championship series
MIT License
75 stars 23 forks source link

Prioritize choosing glad over glew #55

Closed nyukhalov closed 3 years ago

nyukhalov commented 3 years ago

I was unable to build the project on Ubuntu 20.04 due to the linker tried to link the target against glew while the project is using glad. This is happening because of the order of choosing a loader in src/imgui_impl/imgui_impl_opengl3.h. This PR changes the order so that the glad library is chosen first.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:    20.04
Codename:   focal
kswaldemar commented 3 years ago

Правильнее поправить опцией в cmake, в проекте должен использоваться только glad