By not providing “Findncnn.cmake“ in CMAKE_MODULE_PATH this project has asked CMake to find

as报错: By not providing “Findncnn.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “ncnn”, but
CMake did not find one.

solve

  1. First, you need to download and import, and the file name must correspond correctly to the cmake file.Insert image description here
  2. If you still get this error as problem, just delete it.

set(ncnn_DIR ${
    
    CMAKE_SOURCE_DIR}/ncnn-20221128-android-vulkan/${
    
    ANDROID_ABI}/lib/cmake/ncnn)

Just synchronize grade and then undelete grade synchronization.Insert image description here

Guess you like

Origin blog.csdn.net/TY_GYY/article/details/128892525