mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 20:33:58 -07:00
Be more precise about arch the build is for
Correct and simplify according to docs: https://doc.qt.io/qt-6/qtprocessordetection.html We only build for 64-bit cpu's
This commit is contained in:
parent
f898295423
commit
94b64b8775
1 changed files with 3 additions and 3 deletions
|
|
@ -13,10 +13,10 @@
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#if defined(Q_PROCESSOR_X86_64)
|
#if defined(Q_PROCESSOR_X86)
|
||||||
#define BUILD_ARCHITECTURE "64-bit"
|
#define BUILD_ARCHITECTURE "x64"
|
||||||
#elif defined(Q_PROCESSOR_ARM)
|
#elif defined(Q_PROCESSOR_ARM)
|
||||||
#define BUILD_ARCHITECTURE "ARM"
|
#define BUILD_ARCHITECTURE "arm64"
|
||||||
#else
|
#else
|
||||||
#define BUILD_ARCHITECTURE "unknown"
|
#define BUILD_ARCHITECTURE "unknown"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue