summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/piglit
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-01 00:53:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 10:53:13 +0100
commita940fcc7820fd87318b9804cd2f71b25aca2ed1f (patch)
tree99a9c016ecfa0945c37cf99db6d9a652db8234cb /meta/recipes-graphics/piglit
parent904e73f7b2bfe741562fe8285578ca5abf0cf31a (diff)
downloadpoky-a940fcc7820fd87318b9804cd2f71b25aca2ed1f.tar.gz
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>
Diffstat (limited to 'meta/recipes-graphics/piglit')
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb3
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 68ac7e7677..e33e4a7237 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"
21# contents out of $S and $B. 21# contents out of $S and $B.
22B="${S}" 22B="${S}"
23 23
24PACKAGECONFIG ??= ""
25PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut,"
26
24# CMake sets the rpath at build time with the source tree, and will reset it at 27# CMake sets the rpath at build time with the source tree, and will reset it at
25# install time. As we don't install this doesn't happen, so force the rpath to 28# install time. As we don't install this doesn't happen, so force the rpath to
26# what we need. 29# what we need.