When building for the web, a different cmake command must be run: https://emscripten.org/docs/compiling/Building-Projects.html