Skip to content
Draft
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ endif()
# Dependencies
# ============

set(xeus_REQUIRED_VERSION "5.0.0" CACHE STRING "Minimum xeus version required to build xeus-haskell")
set(xeus_REQUIRED_VERSION "6.0.0" CACHE STRING "Minimum xeus version required to build xeus-haskell")

find_package(xeus ${xeus_REQUIRED_VERSION} REQUIRED)

Expand Down Expand Up @@ -316,9 +316,9 @@ if(EMSCRIPTEN)
xeus_wasm_link_options(xhaskell "web,worker")
target_link_options(xhaskell
PUBLIC "SHELL: -Wno-version-check"
PUBLIC "SHELL: -sWASMFS"
PUBLIC "SHELL: --pre-js ${CMAKE_CURRENT_SOURCE_DIR}/src/pre.js"
PUBLIC "SHELL: --post-js ${CMAKE_CURRENT_SOURCE_DIR}/src/post.js"
# PUBLIC "SHELL: -sWASMFS"
)
endif()

Expand Down
2 changes: 1 addition & 1 deletion cmake/MicroHs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function(fetch_and_build_microhs MICROHS_BIN MICROHS_SRC_DIR)
endif()

if(EMSCRIPTEN)
set(HOST_ENV "EMSCRIPTEN=1" "CC=gcc" "CXX=g++" "LD=ld")
set(HOST_ENV "EMSCRIPTEN=1" "CC=gcc" "LD=ld")
else()
set(HOST_ENV "EMSCRIPTEN=0")
endif()
Expand Down
Loading
Loading