I am a lazy man that often configuring --prefix=/usr but HuKang prefer to use --prefix=/opt/SUBDIR to build mesa and drm for getting rid of pollution /usr directory.
When built && installed mesa under /opt/mir/include, /opt/mir/lib, but Mir CMake fail to find GLESv2 instead of /usr/include/XXX.
I am a lazy man that often configuring --prefix=/usr but HuKang prefer to use --prefix= /opt/SUBDIR to build mesa and drm for getting rid of pollution /usr directory.
When built && installed mesa under /opt/mir/include, /opt/mir/lib, but Mir CMake fail to find GLESv2 instead of /usr/include/XXX.
So HuKang provided a patch http:// bazaar. launchpad. net/~xiangzhai8 3/mir/mir/ revision/ 473#CMakeLists. txt to fix such issue :)