I am trying to build an yocto image with my own package. I have OpenCV code on github which uses cmake.
I trying to write a recipe for it and facing lot of errors. Can
If the CMakeLists.txt uses the install command then bitbake will do the install for you and you won't need to define you own do_install.
install
install(TARGETS cameracapture DESTINATION bin)