robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
23d0d4c92a
master
1if ( ENABLE_WASMTIME) 2set ( TREESITTER_ARGS -D TREE_SITTER_FEATURE_WASM=ON ) 3endif () 4 5get_externalproject_options ( treesitter ${ DEPS_IGNORE_SHA }) 6ExternalProject_Add ( treesitter 7DOWNLOAD_DIR ${ DEPS_DOWNLOAD_DIR } /treesitter 8CMAKE_ARGS ${ DEPS_CMAKE_ARGS } ${ TREESITTER_ARGS } 9${ EXTERNALPROJECT_OPTIONS }) 10 11if ( USE_BUNDLED_WASMTIME) 12add_dependencies ( treesitter wasmtime ) 13endif ()