Fix subsequent cmake runs when using multi-arch
Bug #1472314 reported by
Rohan Garg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Running cmake a second time on a project when using multi-arch seems to be broken without this patch in Ubuntu.
NB: This is a patch to a patch :)
tags: | added: patch |
Changed in cmake (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
How to reproduce this? and what do you mean by running a second time?
Cause, mutliarch file only kicks in when environmental variables are set correctly pointing at cross-arch build/host combination and otherwise does nothing and defaults to a normal native compilation.
Imho this patch should not be required, and multiarch file should not be used as a normal cmake toolchain file.