using the 'NO_OPENGL3' preprocessor definition both premake/cmake has support for this now needs some testing