So I am also unsure of what exactly your scenario is (what the reproduction steps are).
Without any environment variables, cross compiling isn't used, so this bug isn't hit. It's only when you set environment variables to use cross compilers that you might hit this scenario. But if you look at, for example, dpkg-cross(1), it recommends setting: export CC=$(DEB_HOST_GNU_TYPE)-gcc export CXX=$(DEB_HOST_GNU_TYPE)-g++ export CMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt Thus manually setting CMAKE_TOOLCHAIN_FILE seems to be a standard part of the documentation. What steps are you using to cross compile? ** Changed in: cmake (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to cmake in Ubuntu. https://bugs.launchpad.net/bugs/1472314 Title: Fix subsequent cmake runs when using multi-arch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1472314/+subscriptions -- kubuntu-bugs mailing list kubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs