not removing the egl/ppapi gles2 contexts

the egl context is required when building with emscripten for asm.js - and the contents of the 2 files are ifdef-ed anyway so there is no problem in compiling them for platforms which don't need them.
This commit is contained in:
Viktor Kirilov
2017-05-28 19:28:10 +03:00
committed by GitHub
parent b3237e15d5
commit ebb397b102

View File

@@ -66,8 +66,6 @@ endif()
# Excluded files from compilation
set_source_files_properties( ${BGFX_DIR}/src/amalgamated.mm PROPERTIES HEADER_FILE_ONLY ON )
set_source_files_properties( ${BGFX_DIR}/src/glcontext_ppapi.cpp PROPERTIES HEADER_FILE_ONLY ON )
set_source_files_properties( ${BGFX_DIR}/src/glcontext_egl.cpp PROPERTIES HEADER_FILE_ONLY ON )
# Exclude mm files if not on OS X
if( NOT APPLE )