ort-customops/cmake/externals/blingfire.cmake

20 строки
585 B
CMake

FetchContent_Declare(
Blingfire
GIT_REPOSITORY https://github.com/microsoft/BlingFire.git
GIT_TAG 0831265c1aca95ca02eca5bf1155e4251e545328
)
FetchContent_GetProperties(Blingfire)
if (NOT blingfire_POPULATED)
FetchContent_Populate(Blingfire)
# enable size optimization build
add_subdirectory(${blingfire_SOURCE_DIR} ${blingfire_BINARY_DIR} EXCLUDE_FROM_ALL)
set_target_properties(bingfirtinydll_static PROPERTIES
FOLDER externals/bingfire)
set_target_properties(fsaClientTiny PROPERTIES
FOLDER externals/bingfire)
endif()