We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1ffa8c + 2eafea4 commit bef22c4Copy full SHA for bef22c4
CMakeLists.txt
@@ -6,6 +6,13 @@ set(TARGET_NAME spatial)
6
set(EXTENSION_NAME ${TARGET_NAME}_extension)
7
set(CMAKE_CXX_STANDARD 11)
8
9
+if (EMSCRIPTEN)
10
+ # _LINKED_LIBS influences only Wasm compilation
11
+ # it's unclear why this is needed, but somehow the global symbol pj_release from PROJ is not properly exported otherwise
12
+ # this solves by basically re-linking (at the moment the Wasm binary is actually produced)
13
+ set (DUCKDB_EXTENSION_SPATIAL_LINKED_LIBS "../../vcpkg_installed/wasm32-emscripten/lib/lib*.a")
14
+endif()
15
+
16
project(${TARGET_NAME})
17
18
add_definitions(-DDUCKDB_MAJOR_VERSION=${DUCKDB_MAJOR_VERSION})
0 commit comments