[Piglit] [PATCH v2] CMake: define GBM_BO_MAP only when symbol is found

Daniel Díaz Rodríguez daniel.diaz at linaro.org
Mon May 15 22:08:37 UTC 2017


Hello!


On 15 May 2017 at 15:05, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> GBM_HEADERS is undefined on my system with mesa 17.0.5.

Thanks for giving it a go. It failed to find gbm_bo_map (as expected)
on my system, but for the wrong reason (GBM_HEADERS being undefined).

I have tried a few variations around CHECK_SYMBOL_EXISTS and
gbm_bo_create (which should work) and still fails. I only managed to
get it to properly identify the function with CHECK_FUNCTION_EXISTS.

Will submit a respin of v1.

Greetings!

Daniel Díaz
daniel.diaz at linaro.org


More information about the Piglit mailing list