mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-12-04 19:23:28 +01:00
fix for emscripten
This commit is contained in:
parent
dfe145c142
commit
05a8dfe1ff
@ -22,8 +22,8 @@ target_link_libraries(opengl_primitives
|
||||
if(MM_OPENGL_3_GLES)
|
||||
target_link_libraries(opengl_primitives "GL") # TODO: make more specific
|
||||
if(EMSCRIPTEN)
|
||||
set_target_properties(opengl_primitives PROPERTIES COMPILE_FLAGS "-s USE_WEBGL2=1")
|
||||
set_target_properties(opengl_primitives PROPERTIES LINK_FLAGS "-s USE_WEBGL2=1")
|
||||
set_target_properties(opengl_primitives PROPERTIES COMPILE_FLAGS "-s USE_WEBGL2=1 -s USE_SDL=2")
|
||||
set_target_properties(opengl_primitives PROPERTIES LINK_FLAGS "-s USE_WEBGL2=1 -s USE_SDL=2")
|
||||
endif()
|
||||
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user