I just pushed commit c880d607992ae7bdc29f70f8eec34c481fed7811 to piglit, which should fix this.<br><br>Marek<br><br><div class="gmail_quote">On Fri, Feb 18, 2011 at 1:34 PM, Andy Furniss <span dir="ltr"><<a href="mailto:andyqos@ukfsn.org" target="_blank">andyqos@ukfsn.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">As I have mesa/libdrm/xorg gits installed under home and my system versions are very old and broken/missing I need to get cmake to use custom paths.<br>
<br>
With current git even though glew include dir is settable with ccmake it still insists on looking in /usr/include. I have tried many combinations with no luck. I can get round this one by copying over but then I have the same problem with xorg stuff.<br>
<br>
Any tips on getting cmake to only look for libs/includes in non standard places?<br>
<br>
With a quite old git piglit I could get some of the tests to compile.<br>
<br>
[ 0%] Building C object tests/util/CMakeFiles/piglitglxutil.dir/piglit-shader.c.o<br>
[ 0%] Building C object tests/util/CMakeFiles/piglitglxutil.dir/piglit-util.c.o<br>
[ 0%] Building C object tests/util/CMakeFiles/piglitglxutil.dir/piglit-glx-framework.c.o<br>
[ 0%] Building C object tests/util/CMakeFiles/piglitglxutil.dir/piglit-glx-util.c.o<br>
[ 1%] Building C object tests/util/CMakeFiles/piglitglxutil.dir/glew.c.o<br>
In file included from /home/andy/Src/Piglit/piglit/tests/util/glew.c:36:<br>
/home/andy/Src/Piglit/piglit/tests/util/glxew.h:100:21: error: GL/glew.h: No such file or directory<br>
make[2]: *** [tests/util/CMakeFiles/piglitglxutil.dir/glew.c.o] Error 1<br>
make[1]: *** [tests/util/CMakeFiles/piglitglxutil.dir/all] Error 2<br>
make: *** [all] Error 2<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br>