If EGL is not used, the dependency on libgbm also becomes moot, so if either library is missing, EGL support is dropped and neither library used (even if it were present). Simon Richter (1): Make libgbm optional without EGL support src/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 1.7.10.4