Resolve CMake find path issue

Words
20
Reading
1 min
9y
Listen to this post
~1 min

If CMake report something NOTFOUND:
Try to add set(CMAKE_PREFIX_PATH "/correct path") in CMakeLists.txt
Or set CMAKE_PREFIX_PATH in cmake command line.