qxmpp-project / qxmpp

Cross-platform C++ XMPP client and server library
408 stars 197 forks source link

CMake build: add potentially missing dependencies in "Building QXMPP" section #508

Closed taiBsu closed 1 year ago

taiBsu commented 1 year ago

I'd like to propose to add the line sudo apt install libgl-dev to the README file for compatibility reasons above this line here: https://github.com/qxmpp-project/qxmpp/blob/cbf32098d46b12b69b5ed5f491127023093374e4/README.md?plain=1#L63 It will fix the CMake error Failed to find "GL/gl.h" in "/usr/include/libdrm" when libgl is not installed.

lnjX commented 1 year ago

This should be a dependency of Qt. QXmpp does not depend on it. Also, we can't use distro-specific commands in the README.