Skip to content

Commit 75e48f2

Browse files
committed
GH-609 Set side module
1 parent 58fd9f8 commit 75e48f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakePresets.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
9191
"CMAKE_C_COMPILER": "emcc",
9292
"CMAKE_CXX_COMPILER": "em++",
93-
"CMAKE_TOOLCHAIN_FILE": "$env{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake"
93+
"CMAKE_TOOLCHAIN_FILE": "$env{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake",
94+
"CMAKE_CXX_FLAGS": "-s SIDE_MODULE=1"
9495
}
9596
}
9697
]

0 commit comments

Comments
 (0)