File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ option(
7676)
7777
7878if (EMSCRIPTEN)
79+ set_property (GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE )
7980 set (XEUS_OCTAVE_BUILD_STATIC ON )
8081 set (XEUS_OCTAVE_BUILD_SHARED OFF )
8182 set (XEUS_OCTAVE_BUILD_EXECUTABLE ON )
82- set (XEUS_OCTAVE_USE_SHARED_XEUS_ZMQ OFF )
8383 set (XEUS_OCTAVE_USE_SHARED_XEUS_OCTAVE OFF )
8484 set (XEUS_OCTAVE_DISABLE_ARCH_NATIVE ON )
8585 set (XEUS_OCTAVE_DISABLE_TUNE_GENERIC ON )
@@ -263,11 +263,7 @@ macro(xeus_octave_create_target target_name linkage output_name)
263263 include (WasmBuildOptions)
264264 target_compile_options (${target_name} PRIVATE ${octinterp_CFLAGS} )
265265 xeus_wasm_compile_options(${target_name} )
266- target_link_libraries (
267- ${target_name}
268- # Cannot mix shared and static libs with emscripten
269- PUBLIC ${octinterp_STATIC_LIBRARIES}
270- )
266+ target_link_libraries (${target_name} PUBLIC xeus ${octinterp_STATIC_LIBRARIES} )
271267 else ()
272268 target_link_libraries (
273269 ${target_name}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ dependencies:
66 - xeus
77 - xeus-lite
88 - nlohmann_json
9+ - nlohmann_json-abi
910 - octave
1011 - libpng
1112 - zlib
You can’t perform that action at this time.
0 commit comments