diff --git a/src/Magnum/Platform/Test/CMakeLists.txt b/src/Magnum/Platform/Test/CMakeLists.txt index a8394d458..5ccfb8cee 100644 --- a/src/Magnum/Platform/Test/CMakeLists.txt +++ b/src/Magnum/Platform/Test/CMakeLists.txt @@ -25,6 +25,8 @@ set(ADDITIONAL_WEB_FILES "") +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGL -s MINIMAL_RUNTIME=2 -s IGNORE_CLOSURE_COMPILER_ERRORS=1 -s ENVIRONMENT=web") + if(WITH_ANDROIDAPPLICATION) add_library(PlatformAndroidApplicationTest SHARED AndroidApplicationTest.cpp) target_link_libraries(PlatformAndroidApplicationTest PRIVATE MagnumAndroidApplication) diff --git a/src/Magnum/Platform/Test/EmscriptenApplicationTest.html b/src/Magnum/Platform/Test/EmscriptenApplicationTest.html index f4e616e0a..abdc71516 100644 --- a/src/Magnum/Platform/Test/EmscriptenApplicationTest.html +++ b/src/Magnum/Platform/Test/EmscriptenApplicationTest.html @@ -14,8 +14,25 @@