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
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 usingglad
. This is happening because of the order of choosing a loader insrc/imgui_impl/imgui_impl_opengl3.h
. This PR changes the order so that theglad
library is chosen first.