microsoft/onnxruntime-extensions
Publicmirrored from https://github.com/microsoft/onnxruntime-extensionsAvailable
cmake/externals/blingfire.cmake
15lines · modecode
| 1 | FetchContent_Declare( |
| 2 | Blingfire |
| 3 | GIT_REPOSITORY https://github.com/microsoft/BlingFire.git |
| 4 | GIT_TAG 0831265c1aca95ca02eca5bf1155e4251e545328 |
| 5 | ) |
| 6 | |
| 7 | |
| 8 | FetchContent_GetProperties(Blingfire) |
| 9 | |
| 10 | if (NOT blingfire_POPULATED) |
| 11 | FetchContent_Populate(Blingfire) |
| 12 | |
| 13 | # enable size optimization build |
| 14 | add_subdirectory(${blingfire_SOURCE_DIR} ${blingfire_BINARY_DIR} EXCLUDE_FROM_ALL) |
| 15 | endif () |