mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
better cmake for emscripten flags
This commit is contained in:
@ -17,7 +17,6 @@ add_library(opengl_renderer_s
|
||||
|
||||
target_include_directories(opengl_renderer_s PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
||||
|
||||
add_definitions(-DGLM_ENABLE_EXPERIMENTAL)
|
||||
target_link_libraries(opengl_renderer_s
|
||||
engine
|
||||
logger
|
||||
@ -26,11 +25,6 @@ target_link_libraries(opengl_renderer_s
|
||||
sdl_service
|
||||
)
|
||||
|
||||
if(EMSCRIPTEN)
|
||||
set_target_properties(opengl_renderer_s PROPERTIES COMPILE_FLAGS "-s USE_SDL=2")
|
||||
set_target_properties(opengl_renderer_s PROPERTIES LINK_FLAGS "-s USE_SDL=2")
|
||||
endif()
|
||||
|
||||
############# imgui opengl renderer tools ###########
|
||||
|
||||
add_library(imgui_opengl_renderer_tools
|
||||
|
Reference in New Issue
Block a user