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.

7 lines
276 B

  1. FetchContent_Declare(onnxruntime
  2. SOURCE_DIR ${LIB_BASE_DIR}/onnxruntime-src)
  3. FetchContent_MakeAvailable(onnxruntime)
  4. include_directories(${onnxruntime_SOURCE_DIR}/include)
  5. link_directories(${onnxruntime_SOURCE_DIR}/lib)
  6. list(APPEND third_party_libraries onnxruntime)