Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
frankinshtein committed Feb 16, 2019
2 parents 1b908d3 + 31e0fdc commit 96f2785
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ set(OXYGINE_LIBRARY_DIRS

if (FORCE_GLES)
set(OPENGL_LIBRARIES libGLESv2.lib)
else ()
set(OPENGL_LIBRARIES "")
endif(FORCE_GLES)


Expand All @@ -159,8 +161,10 @@ set(CORE_LIBS


if (OX_USE_SDL2)
set(CORE_LIBS ${CORE_LIBS}
SDL2main SDL2)
if(!EMSCRIPTEN)
set(CORE_LIBS ${CORE_LIBS}
SDL2main SDL2)
endif(!EMSCRIPTEN)
set(OXYGINE_INCLUDE_DIRS ${OXYGINE_INCLUDE_DIRS} ${SDL2_INCLUDE_DIRS})
endif(OX_USE_SDL2)

Expand Down

0 comments on commit 96f2785

Please sign in to comment.