Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix breakage of non-GLES2 setups (#8774)
The commit 526a9e4 breaks the non-GLES2 setups because the code that is intended to handle that is behind "elseif()" which is interpreted as "elseif(false)" and thus the code never gets executed. Fix that by changing the offending line to else(). Additionally, to avoid breaking the server only build (which shall not have a dependency on GL/GLU/GLES at all), enclose the entire block code in if(BUILD_CLIENT).
- Loading branch information