Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying a CMake toolchain file prevented host/createconf from being created #175

Open
kheaactua opened this issue Jan 28, 2022 · 1 comment

Comments

@kheaactua
Copy link

When I specify a CMAKE_TOOLCHAIN_FILE for my aarch64le target, the host/confdir/createconf build that occurs during the configure step targets the target instead of the host.

To get around this I have to do two builds.

I'm not sure what the best solution is. I suspect though that maybe creating a CMAKE_HOST_TOOLCHAIN_FILE:FILEPATH cache variable, and then injecting it into the execute_command code as a CMAKE_TOOLCHAIN_FILE might fix it. I say might because toolchains are a little special in CMake.

@johnsonjh
Copy link
Owner

Thanks for the report on this ... CMake isn't my first language but I'll see what I find out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants