Skip to content

Commit

Permalink
Revert "[CMAKE] Fixed emcc warnings about SDL & OPENGL_LIBRARIES bein…
Browse files Browse the repository at this point in the history
…g nil"

This reverts commit 8d59fcd.
  • Loading branch information
frankinshtein committed Mar 11, 2019
1 parent 96f2785 commit ddc313a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ set(OXYGINE_LIBRARY_DIRS

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


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


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

Expand Down

0 comments on commit ddc313a

Please sign in to comment.