Skip to content

Commit a236b3b

Browse files
authored
Minor cmake improvements for the emscripten build (#337)
1 parent 2226ca0 commit a236b3b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@ if(EMSCRIPTEN)
7878
add_compile_definitions(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
7979
message("Build with emscripten")
8080
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE)
81-
set(XEUS_CPP_BUILD_STATIC ON)
8281
set(XEUS_CPP_BUILD_SHARED OFF)
8382
set(XEUS_CPP_BUILD_EXECUTABLE OFF)
84-
set(XEUS_CPP_USE_SHARED_XEUS ON)
8583
set(XEUS_CPP_USE_SHARED_XEUS_CPP OFF)
8684
# ENV (https://github.com/emscripten-core/emscripten/commit/6d9681ad04f60b41ef6345ab06c29bbc9eeb84e0)
8785
set(EMSCRIPTEN_FEATURES "${EMSCRIPTEN_FEATURES} -s \"EXPORTED_RUNTIME_METHODS=[ENV']\"")

0 commit comments

Comments
 (0)