Fix EGL detection on RPi

This commit is contained in:
Cameron Gutman 2020-05-16 11:10:45 -07:00
parent 42ced309d3
commit 828932d95c

View file

@ -1,4 +1,13 @@
SOURCES = main.cpp
CONFIG += link_pkgconfig
# This adds /opt/vc/include to the include path which
# pulls in the BRCM GLES and EGL libraries. If we don't
# add this, we'll get the system's headers which expose
# functionality the runtime GL implementation won't have.
packagesExist(mmal) {
PKGCONFIG += mmal
}
PKGCONFIG += sdl2 egl