Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit c93984b

Browse files
committed
fixed emscripten installation - all files included since now
1 parent af5ffdf commit c93984b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

cmake/project-standalone.cmake

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,25 @@ else()
125125

126126
# Install .js file (JavaScript wrapper)
127127
install(
128-
FILES "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.js"
128+
FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${BASE_NAME}.js"
129129
DESTINATION ${CMAKE_INSTALL_BINDIR}
130130
OPTIONAL)
131131

132132
# Install .wasm file (WebAssembly binary)
133133
install(
134-
FILES "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.wasm"
134+
FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${BASE_NAME}.wasm"
135135
DESTINATION ${CMAKE_INSTALL_BINDIR}
136136
OPTIONAL)
137137

138138
# Install .data file (preloaded assets)
139139
install(
140-
FILES "${CMAKE_CURRENT_BINARY_DIR}/${BASE_NAME}.data"
140+
FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${BASE_NAME}.data"
141+
DESTINATION ${CMAKE_INSTALL_BINDIR}
142+
OPTIONAL)
143+
144+
# Install .wasm.map file (WebAssembly source map for debugging)
145+
install(
146+
FILES "${CMAKE_CURRENT_BINARY_DIR}/bin/${BASE_NAME}.wasm.map"
141147
DESTINATION ${CMAKE_INSTALL_BINDIR}
142148
OPTIONAL)
143149
endif()

0 commit comments

Comments
 (0)