-
When detecting Vulkan dependency in cross compile case (Yocto) what is the proper pattern for deriving the absolute includedir? I'm doing this:
How do I get sysroot to affect this, as I always end up with |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Is the vulkan dependency correct in that case at all, or is it just getting the pkg-config variable that is broken? This could be a bug |
Beta Was this translation helpful? Give feedback.
-
While now I have a correct vulkan.pc meson is still ignoring PKG_CONFIG_SYSROOT_DIR and returning the same value as before. If PKG_CONFIG_SYSROOT_DIR is set pkg-config should honor it, which indicates it's not available at runtime.
Re-opened issue: #9674 |
Beta Was this translation helpful? Give feedback.
-
This is the functional pattern
This project now correctly builds on desktop and Yocto: https://github.com/jwinarske/vkmark/tree/jw/vulkan_dep |
Beta Was this translation helpful? Give feedback.
This is the functional pattern
Correctly implemented package config file. @dcbaker thank you.
Meson
This project now correctly builds on desktop and Yocto: https://github.com/jwinarske/vkmark/tree/jw/vulkan_dep