Skip to content

Commit

Permalink
examples/app/CMakeLists.txt: add libm
Browse files Browse the repository at this point in the history
on ubuntu it needs to be explicit
  • Loading branch information
yamt committed Feb 22, 2023
1 parent 39147bf commit 3f66433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(app_sources
)

add_executable(app ${app_sources})
target_link_libraries(app toywasm-lib)
target_link_libraries(app toywasm-lib m)

# XXX the library is built with short enum.
# maybe we can use INTERFACE_COMPILE_OPTIONS.
Expand Down

0 comments on commit 3f66433

Please sign in to comment.