build(wasmtime): don't require exact patch version

Now that wasmtime has introduced LTS releases (and tree-sitter tracks
them), we no longer need to pin the version exactly but can rely on
any major.minor version being compatible. This avoids having to edit
the CMake file on every patch bump.
This commit is contained in:
Christian Clason
2026-06-10 12:58:17 +02:00
committed by Christian Clason
parent 9816e9392a
commit 61380c5e0a

View File

@@ -53,7 +53,7 @@ if(ENABLE_UNIBILIUM)
endif()
if(ENABLE_WASMTIME)
find_package(Wasmtime 36.0.6 EXACT REQUIRED)
find_package(Wasmtime 36.0 EXACT REQUIRED)
target_link_libraries(main_lib INTERFACE wasmtime)
target_compile_definitions(nvim_bin PRIVATE HAVE_WASMTIME)
endif()