diff --git a/CMakeLists.txt b/CMakeLists.txt index 41f1dfe1d..e7a6eef7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,8 +145,6 @@ set(OXYGINE_LIBRARY_DIRS if (FORCE_GLES) set(OPENGL_LIBRARIES libGLESv2.lib) -else () - set(OPENGL_LIBRARIES "") endif(FORCE_GLES) @@ -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)