-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19043.
OPENMP FOUND
CMake Error at CMakeLists.txt:55 (find_package):
By not providing "FindOnnxRuntime.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"OnnxRuntime", but CMake did not find one.
Could not find a package configuration file provided by "OnnxRuntime" with
any of the following names:
OnnxRuntimeConfig.cmake
onnxruntime-config.cmake
Add the installation prefix of "OnnxRuntime" to CMAKE_PREFIX_PATH or set
"OnnxRuntime_DIR" to a directory containing one of the above files. If
"OnnxRuntime" provides a separate development package or SDK, be sure it
has been installed.
按这个教程来的
报错
确定目录是对的,因为我手动修改
CMakeLists.txt
,把第49~54行改成
就可以正常cmake了