I am trying to implement an Oak-D camera into another ROS library. I have depthai-core installed and built in the same folder as the library's workspace. In the CMakeLists.txt, I have find_packages(depthai CONFIG REQUIRED)
, at which point I get the following error:
CMake Error at CMakeLists.txt:12 (find_package):
Found package configuration file:
/home/\*\*\*/depthai-core/build/depthaiConfig.cmake
but it set depthai_FOUND to FALSE so package "depthai" is considered to be NOT FOUND.
After googling around I still have absolutely no idea how to potentially fix this. Any help would be appreciated.