Skip to content

Commit 4d54146

Browse files
committed
CraterCrashGH-609 Add -shared for web builds
1 parent 37cb790 commit 4d54146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakePresets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"CMAKE_CXX_COMPILER": "em++",
9393
"CMAKE_TOOLCHAIN_FILE": "$env{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake",
9494
"BUILD_SHARED_LIBS": "ON",
95-
"CMAKE_CXX_FLAGS": "-s SIDE_MODULE=1"
95+
"CMAKE_CXX_FLAGS": "-s SIDE_MODULE=1 -shared"
9696
}
9797
}
9898
]

0 commit comments

Comments
 (0)