bkaradzic / bgfx.cmake

CMake build scripts for bgfx. Released under public domain.
Creative Commons Zero v1.0 Universal
209 stars 110 forks source link

When cross compiling, bgfx.cmake seems to look for host OpenGL #242

Open bwrsandman opened 2 months ago

bwrsandman commented 2 months ago

Related to the hotfix in https://github.com/openblack/openblack/issues/648, we have to install System Host dependencies for at least Linux. It affects x86 and arm. Android is excluded from finding OpenGL.

The check is here https://github.com/bkaradzic/bgfx.cmake/blob/4ceffda6def0e57d70d8ea6aab8178be091fed37/cmake/bgfx/bgfx.cmake#L184

On vcpkg there might even be a way to find non-system versions of these libraries.