diff --git a/CMakeLists.txt b/CMakeLists.txt index b505d9280..e186771e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,6 +167,7 @@ if(TARGET_GLES) endif() endif() if(CORRADE_TARGET_EMSCRIPTEN) + set(TARGET_WEBGL 1) set(MAGNUM_TARGET_WEBGL 1) endif() if(TARGET_DESKTOP_GLES)