shukitchan commented on code in PR #12222: URL: https://github.com/apache/trafficserver/pull/12222#discussion_r2076799357
########## plugins/experimental/wasm/CMakeLists.txt: ########## @@ -18,5 +18,28 @@ add_subdirectory(lib) add_atsplugin(wasm ats_context.cc ats_wasm.cc wasm_main.cc) -target_link_libraries(wasm PRIVATE wasmlib wamr::wamr) + +set(WASM_RUNTIME wasmlib) +if(wamr_FOUND) + list(APPEND WASM_RUNTIME wamr::wamr) +endif() +if(wasmtime_FOUND) + list(APPEND WASM_RUNTIME wasmtime::wasmtime) +endif() +if(wasmedge_FOUND) + list(APPEND WASM_RUNTIME wasmedge::wasmedge) +endif() Review Comment: yes. you are right. wasmtime and wamr cannot be used together. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org