qt5base-lts/config.tests/qpa/eglfs-brcm/eglfs-brcm.pro
Samuli Piippo 22ecebcc72 Add QMAKE_LIBDIR_EGL only if it exists
Must not add -L without a directory path, so check that
QMAKE_LIBDIR_EGL actually has a directory to add.

Change-Id: I81920e3427f348739ced045a83f53265d72b261a
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
2015-05-28 07:18:22 +00:00

12 lines
169 B
Prolog

SOURCES = eglfs-brcm.cpp
CONFIG -= qt
INCLUDEPATH += $$QMAKE_INCDIR_EGL
for(p, QMAKE_LIBDIR_EGL) {
exists($$p):LIBS += -L$$p
}
LIBS += -lEGL -lGLESv2 -lbcm_host