Skip to content

Commit

Permalink
Adapt to the most recent version of emsdk. (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi authored Apr 22, 2023
1 parent 83da403 commit 47e5112
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ if(BUILD_BLS_TESTS)
FetchContent_MakeAvailable(Catch2)
find_package(Threads REQUIRED)
add_executable(runtest test.cpp)
if(EMSCRIPTEN)
target_link_options(runtest PRIVATE "-sEXPORTED_FUNCTIONS=_malloc")
endif()
target_link_libraries(runtest
PRIVATE
bls
Expand Down

0 comments on commit 47e5112

Please sign in to comment.