• Alexander Nitsch's avatar
    Fix MinGW detection on x86 · 8ae64027
    Alexander Nitsch authored
    MinGW-w64 always uses "w64" as vendor key which the previously
    used check for "64" anywhere in the target triplet matched. This
    would lead to MinGW-w64 setups always being treated as x64.
    
    Since we are actually interested in finding the "64" in the
    triplet's operating system key, this fix makes sure to look for
    "mingw64" and thus avoids the false match.
    
    Fixes issue #3835. Credits to Lode Leroy for the original patch.
    8ae64027
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.rst Loading commit data...