set(onnxruntime_SOURCE_DIR ${LIB_BASE_DIR}/onnxruntime-src) include_directories(${onnxruntime_SOURCE_DIR}/include) find_library(ONNX_LIBRARY NAMES onnxruntime PATHS ${onnxruntime_SOURCE_DIR}/lib NO_DEFAULT_PATH) if(third_party_libraries) list(APPEND third_party_libraries ONNX_LIBRARY ) endif ()