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.

8 lines
241 B

1 year ago
  1. set(onnxruntime_SOURCE_DIR ${LIB_BASE_DIR}/onnxruntime-src)
  2. include_directories(${onnxruntime_SOURCE_DIR}/include)
  3. link_directories(${onnxruntime_SOURCE_DIR}/lib)
  4. list(APPEND third_party_libraries onnxruntime)
  5. add_definitions(-DUSE_ONNX)