mirror of
https://github.com/neovim/neovim.git
synced 2026-09-16 19:02:11 +00:00
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:
committed by
Christian Clason
parent
9816e9392a
commit
61380c5e0a
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user