Do not hardcode paths in eglfs-brcm test.
Let the specs decide about egl headers and egl lib location. Fixes yocto RaspberryPi build without proper egl support. Change-Id: I4c8d655673aa0b2043bc376486cfe436afb93e42 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
This commit is contained in:
parent
24b3d82eff
commit
aee9fef7dd
@ -2,8 +2,6 @@ SOURCES = eglfs-brcm.cpp
|
|||||||
|
|
||||||
CONFIG -= qt
|
CONFIG -= qt
|
||||||
|
|
||||||
INCLUDEPATH += $$[QT_SYSROOT]/opt/vc/include \
|
INCLUDEPATH += $$QMAKE_INCDIR_EGL
|
||||||
$$[QT_SYSROOT]/opt/vc/include/interface/vcos/pthreads \
|
|
||||||
$$[QT_SYSROOT]/opt/vc/include/interface/vmcs_host/linux
|
|
||||||
|
|
||||||
LIBS += -L$$[QT_SYSROOT]/opt/vc/lib -lEGL -lGLESv2 -lbcm_host
|
LIBS += -L$$QMAKE_LIBDIR_EGL -lEGL -lGLESv2 -lbcm_host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user