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.