Hi Stephen, On 4/11/23 02:00, Stephen Yu (Microchip) via lists.yoctoproject.org wrote:
Hello Community,My CMake project needs to cross compile (.c sources) using libxml2. * The CMakeLists.txt has "find_package(LibXml2)" * The recipe.bb has * "DEPENDS += "libxml2" * "inherit cmake"
I think you may need to inherit pkgconfig class too if your cmake relies on this to find packages.
Cheers, Quentin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59677): https://lists.yoctoproject.org/g/yocto/message/59677 Mute This Topic: https://lists.yoctoproject.org/mt/98188210/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
