FetchContent_Declare(onnxruntime
|
|
SOURCE_DIR ${LIB_BASE_DIR}/onnxruntime-src)
|
|
FetchContent_MakeAvailable(onnxruntime)
|
|
|
|
include_directories(${onnxruntime_SOURCE_DIR}/include)
|
|
link_directories(${onnxruntime_SOURCE_DIR}/lib)
|
|
|
|
list(APPEND third_party_libraries onnxruntime)
|