From 353b93bbe8baf6ecfefbc4be605e37ce616215c0 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 6 May 2024 15:13:34 +0800 Subject: [PATCH] =?UTF-8?q?#=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake-local/onnx.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-local/onnx.cmake b/cmake-local/onnx.cmake index c8a4c30..2fdc9b8 100644 --- a/cmake-local/onnx.cmake +++ b/cmake-local/onnx.cmake @@ -8,6 +8,6 @@ FetchContent_Declare(onnxruntime FetchContent_MakeAvailable(onnxruntime) include_directories(${onnxruntime_SOURCE_DIR}/include) link_directories(${onnxruntime_SOURCE_DIR}/lib) -# +add_definitions(-DUSE_ONNX) #message(STATUS CMAKE_SYSTEM_NAME ${CMAKE_SYSTEM_NAME}) #message(STATUS CMAKE_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) \ No newline at end of file