--- cmake/wasi-sdk-toolchain.cmake.orig +++ cmake/wasi-sdk-toolchain.cmake @@ -276,7 +276,6 @@ cmake -E copy ${wasm_component_ld} ${wasi_tmp_install}/bin COMMENT "Building `wasm-component-ld` ...") add_custom_target(wasm-component-ld DEPENDS ${wasm_component_ld}) -add_dependencies(build wasm-component-ld) # Setup installation logic for CMake support files. add_custom_target(misc-files) @@ -292,8 +291,6 @@ add_dependencies(misc-files copy-${src_filename}) endfunction() -copy_misc_file(src/config/config.sub misc) -copy_misc_file(src/config/config.guess misc) copy_misc_file(wasi-sdk.cmake cmake) copy_misc_file(wasi-sdk-pthread.cmake cmake) copy_misc_file(wasi-sdk-p1.cmake cmake)