ARCH_INDEPENDENT version files are not arch independent
Hi, CMake Config Version files generated by CMakePackageConfigHelpers
' write_basic_package_version_file()
are not completely arch independent when the ARCH_INDEPENDENT
is specified. They skip the check at configure time, but the generated file still contains the bit size of the build machine, which can create issues in MultiArch setups like Debian; see https://bugs.debian.org/1029194 for a recent example.
The solution is simple: instead of writing in the file itself that the check should be skipped, the check shouldn't be included in an ARCH_INDEPENDENT
file at all.