microsoft/onnxruntime-extensions
Publicmirrored from https://github.com/microsoft/onnxruntime-extensionsAvailable
cmake/externals/blingfire.cmake
11lines · modecode
| 1 | FetchContent_Declare( |
| 2 | Blingfire |
| 3 | GIT_REPOSITORY https://github.com/microsoft/BlingFire.git |
| 4 | GIT_TAG 0831265c1aca95ca02eca5bf1155e4251e545328 |
| 5 | EXCLUDE_FROM_ALL |
| 6 | PATCH_COMMAND git checkout . && git apply --ignore-space-change --ignore-whitespace ${PROJECT_SOURCE_DIR}/cmake/externals/blingfire_cmake.patch) |
| 7 | |
| 8 | FetchContent_MakeAvailable(Blingfire) |
| 9 | set_target_properties(bingfirtinydll_static PROPERTIES FOLDER |
| 10 | externals/bingfire) |
| 11 | set_target_properties(fsaClientTiny PROPERTIES FOLDER externals/bingfire) |
| 12 | |