-
I am cross compiling, both from windows and from linux, to a custom arm64-based triplet for a device that is running yocto. Toolchain and triplet seem fine for most ports from both host systems, at least now that i am still in the vcpkg exploration phase and i am still using simple ports. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
@Neumann-A I see that in |
Beta Was this translation helpful? Give feedback.
simply
set(VCPKG_MESON_CROSS_FILE "${CMAKE_CURRENT_LIST_DIR}/your-meson-cross-file")
somewhere before the call. I advise to use the triplet but for testing it is probably better to do it in the port you want to use the cross file?I mean it is just a variable so it works as every variable in cmake script mode.