diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-01 00:53:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-06 20:36:03 +0100 |
commit | b500d5581d2ab802eb8e7de640b5ab253f01c3f6 (patch) | |
tree | 7389ad7480eac42524c92fc83632b87528abcf03 /meta | |
parent | 6122c5e02b96ab786204d08b470177d824004d24 (diff) | |
download | openembedded-core-contrib-b500d5581d2ab802eb8e7de640b5ab253f01c3f6.tar.gz |
piglit: add PACKAGECONFIG for freeglut
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/piglit/piglit_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 68ac7e76770..e33e4a72371 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -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. |