message: build(WebAssemblyInterface): Do not link to imported targets
diff: @@ -52,7 +52,6 @@ function(add_executable target)
  _target_link_libraries(${target} PRIVATE $<$<LINK_LANGUAGE:CXX>:wasi-exception-shim>)
  get_property(_link_flags TARGET ${wasm_target} PROPERTY LINK_FLAGS)
  set_property(TARGET ${wasm_target} PROPERTY LINK_FLAGS "-Wl,--export-if-defined=main -Wl,--export-if-defined=itk_wasm_input_array_alloc -Wl,--export-if-defined=itk_wasm_input_json_alloc -Wl,--export-if-defined=itk_wasm_output_json_address -Wl,--export-if-defined=itk_wasm_output_json_size -Wl,--export-if-defined=itk_wasm_output_array_address -Wl,--export-if-defined=itk_wasm_output_array_size -Wl,--export-if-defined=itk_wasm_free_all ${_link_flags}")
  - endif()
  if(NOT ITK_WASM_NO_INTERFACE_LINK)
  if(NOT TARGET WebAssemblyInterface)
  find_package(ITK QUIET COMPONENTS WebAssemblyInterface)
  @@ -62,6 +61,7 @@ function(add_executable target)
  endif()
  endif()
  endif()
  + endif()
  endfunction()
  function(web_add_executable)
  add_executable(${ARGN})
  