diff --git a/cmake/modules/FindONNXRuntime.cmake b/cmake/modules/FindONNXRuntime.cmake index c25c8378f..03c34369a 100644 --- a/cmake/modules/FindONNXRuntime.cmake +++ b/cmake/modules/FindONNXRuntime.cmake @@ -4,7 +4,7 @@ find_library(ONNXRuntime_LIBRARY_IMP NAMES onnxruntime) if (WIN32) get_filename_component(ONNXRuntime_PATH_LIB ${ONNXRuntime_LIBRARY_IMP} DIRECTORY) - find_file(ONNXRuntime_LIBRARY NAMES onnxruntime_maa.dll PATHS "${ONNXRuntime_PATH_LIB}/../bin") + find_file(ONNXRuntime_LIBRARY NAMES onnxruntime_maa.dll PATHS "${ONNXRuntime_PATH_LIB}/../lib") else () set(ONNXRuntime_LIBRARY ${ONNXRuntime_LIBRARY_IMP}) endif (WIN32)