mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
add installation directives (#14)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
179d34ac78
commit
108254974f
|
@ -75,6 +75,8 @@ add_library (vmlib
|
|||
|
||||
add_executable (iwasm main.c ext-lib-export.c)
|
||||
|
||||
install (TARGETS iwasm DESTINATION bin)
|
||||
|
||||
target_link_libraries (iwasm vmlib -lm -ldl -lpthread)
|
||||
|
||||
add_library (libiwasm SHARED
|
||||
|
@ -86,6 +88,8 @@ add_library (libiwasm SHARED
|
|||
${PLATFORM_SHARED_SOURCE}
|
||||
${MEM_ALLOC_SHARED_SOURCE})
|
||||
|
||||
install (TARGETS libiwasm DESTINATION lib)
|
||||
|
||||
set_target_properties (libiwasm PROPERTIES OUTPUT_NAME iwasm)
|
||||
|
||||
target_link_libraries (libiwasm -lm -ldl -lpthread)
|
||||
|
|
Loading…
Reference in New Issue
Block a user