Is your feature request related to a problem? Please describe.
Currently, WAMR fetches simde as a dependency via FetchContent unconditionally.
Describe the solution you'd like
Upstream simde provides a find_package compatible package layout. This should be tried first. Older versions don't provide a find_package module, but a custom Find module could be written or even a simple find_path suffices.
Describe alternatives you've considered
The alternative is to maintain patches to the WAMR build system or write a complicated Dependency Provider in CMake that intercepts the FetchContent call.
Additional context
A number of package managers (including Homebrew, vcpkg, Debian, and others) disable FetchContent to ensure a consistent set of packages exists in the index.
Is your feature request related to a problem? Please describe.
Currently, WAMR fetches
simdeas a dependency via FetchContent unconditionally.Describe the solution you'd like
Upstream
simdeprovides afind_packagecompatible package layout. This should be tried first. Older versions don't provide afind_packagemodule, but a custom Find module could be written or even a simplefind_pathsuffices.Describe alternatives you've considered
The alternative is to maintain patches to the WAMR build system or write a complicated Dependency Provider in CMake that intercepts the FetchContent call.
Additional context
A number of package managers (including Homebrew, vcpkg, Debian, and others) disable FetchContent to ensure a consistent set of packages exists in the index.