mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Support MIPS64 architecture
This commit is contained in:
parent
a3aeca213d
commit
a0a8a8670f
2 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,7 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
|
|||
set(CPU_OPTIMIZATION "-mmmx -msse -msse2" CACHE STRING "Which CPU specific optimitations should be used beside the compiler's default?")
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(powerpc|ppc)64le")
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "((powerpc|ppc)64le)|(mips64)")
|
||||
option(USE_INTRINSICS "Compile using intrinsics (e.g mmx, sse, msse2)" OFF)
|
||||
else()
|
||||
option(USE_INTRINSICS "Compile using intrinsics (e.g mmx, sse, msse2)" ON)
|
||||
|
|
|
@ -119,6 +119,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#define CPUSTRING "aarch64"
|
||||
#elif defined(__powerpc64__)
|
||||
#define CPUSTRING "ppc64"
|
||||
#elif defined(__mips64) || defined(__mips64_)
|
||||
#define CPUSTRING "mips64"
|
||||
#else
|
||||
#error unknown CPU
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue