mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-25 03:50:57 +00:00
CMAKE_SYSTEM_PROCESSOR used to be broken, CMake "fixed" it by redefining its meaning (from "Target CPU" to "Host CPU except when crosscompiling"). On Windows it always prints the host CPU, on Linux it at least made trouble in chroots and when running 64bit kernels with 32bit userlands (this used to be not totally uncommon on x86 before distros completely switched to amd64, and apparently Raspbian/Raspberry Pi OS does this on RPi4, see #267) Thankfully gcc and clang support "-dumpmachine" to print their (default) target system, so use that instead (MSVC already had a special case). On the upside, this allows getting rid of the MinGW special case. I hope this also works with Apple Clang.. |
||
---|---|---|
.. | ||
cm | ||
d3xp | ||
framework | ||
game | ||
idlib | ||
MayaImport | ||
renderer | ||
sound | ||
sys | ||
tools | ||
TypeInfo | ||
ui | ||
CMakeLists.txt | ||
config.h.in | ||
mmakefile.src |