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

2017-05-15 Thread Jan Vesely
On Mon, 2017-05-15 at 18:54 -0500, Daniel Díaz wrote: > gbm_bo_map() and _unmap() have been added recently to Mesa, > and this update may not have reached all implementations of > GBM, such as the one provided by Mali r6, where said > definitions can be found in the header file but not in the > lib

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

2017-05-15 Thread Daniel Díaz
gbm_bo_map() and _unmap() have been added recently to Mesa, and this update may not have reached all implementations of GBM, such as the one provided by Mali r6, where said definitions can be found in the header file but not in the library itself. This leads to errors like the following when linkin