Welcome to The Bug Genie
Please fill in your username and password below, and press "Continue" to log in.If you have not already registered, please use the "Register new account" tab to do so.
Please wait while updating issue type...
Could not save your changes
This issue has been changed since you started editing it
Data that has been changed is highlighted in red below. Undo your changes to see the updated information
You have changed this issue, but haven't saved your changes yet. To save it, press the Save changes button to the right
This issue is blocking the next release
Create a comment There are no comments
There is nothing attached to this issue
This issue has no duplicates
There are no code checkins for this issue |
|||||||||||||||||||||||||||||
Really delete this comment?
For our Linux cross builds I use this toolchain file: https://github.com/arx/ArxBuild/blob/master/toolchains/cross-toolchain.cmake It makes many assumptions like getting the target triple from the (symlinked) filename and expecting the cross root at "/usr/${target}" so you will probably need to adapt it. The most important part is setting the CMAKE_SYSROOT and CMAKE_FIND_* variables to tell CMake where to look as well as the PKG_CONFIG_LIBDIR and PKG_CONFIG_SYSROOT_DIR environment variables to do the same for pkgconfig which CMake will use for many libraries.