Fix EGL detection on RPi
This commit is contained in:
parent
42ced309d3
commit
828932d95c
1 changed files with 9 additions and 0 deletions
|
|
@ -1,4 +1,13 @@
|
||||||
SOURCES = main.cpp
|
SOURCES = main.cpp
|
||||||
|
|
||||||
CONFIG += link_pkgconfig
|
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
|
PKGCONFIG += sdl2 egl
|
||||||
Loading…
Add table
Add a link
Reference in a new issue