You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
303 B

1 year ago
  1. set(onnxruntime_SOURCE_DIR ${LIB_BASE_DIR}/onnxruntime-src)
  2. include_directories(${onnxruntime_SOURCE_DIR}/include)
  3. find_library(ONNX_LIBRARY NAMES onnxruntime PATHS ${onnxruntime_SOURCE_DIR}/lib NO_DEFAULT_PATH)
  4. if(third_party_libraries)
  5. list(APPEND third_party_libraries ONNX_LIBRARY )
  6. endif ()