piglit: add PACKAGECONFIG for freeglut

(From OE-Core rev: b500d5581d2ab802eb8e7de640b5ab253f01c3f6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2015-04-01 00:53:00 -07:00 committed by Richard Purdie
parent 904e73f7b2
commit a940fcc782
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ REQUIRED_DISTRO_FEATURES = "x11"
# contents out of $S and $B.
B="${S}"
PACKAGECONFIG ??= ""
PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut,"
# CMake sets the rpath at build time with the source tree, and will reset it at
# install time. As we don't install this doesn't happen, so force the rpath to
# what we need.