From ebb397b102921b92251e6dffc3f1e8e8c7192f60 Mon Sep 17 00:00:00 2001 From: Viktor Kirilov Date: Sun, 28 May 2017 19:28:10 +0300 Subject: [PATCH] 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. --- cmake/bgfx.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/bgfx.cmake b/cmake/bgfx.cmake index 0e09f77..40a7a1f 100755 --- a/cmake/bgfx.cmake +++ b/cmake/bgfx.cmake @@ -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 )