We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c29b0 commit c2bb6d3Copy full SHA for c2bb6d3
sqlite3/assets/wasm/CMakeLists.txt
@@ -17,10 +17,11 @@ FetchContent_Declare(
17
18
FetchContent_MakeAvailable(sqlite3)
19
20
-set(POWERSYNC_A "${CMAKE_BINARY_DIR}/libpowersync-wasm.a")
21
-
22
file(DOWNLOAD https://raw.githubusercontent.com/sqlite/sqlite/master/src/test_vfstrace.c "${CMAKE_BINARY_DIR}/vfstrace.c")
23
-file(DOWNLOAD https://github.com/powersync-ja/powersync-sqlite-core/releases/download/v0.3.0/libpowersync-wasm.a "${POWERSYNC_A}")
+
+set(POWERSYNC_VERSION "0.3.0")
+set(POWERSYNC_A "${CMAKE_BINARY_DIR}/libpowersync-wasm.a")
24
+file(DOWNLOAD "https://github.com/powersync-ja/powersync-sqlite-core/releases/download/v${POWERSYNC_VERSION}/libpowersync-wasm.a" "${POWERSYNC_A}")
25
26
# Generate symbols we need to export from the sqlite3.wasm build
27
add_custom_command(
0 commit comments