mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Support PPC64LE architecture
This commit is contained in:
parent
71bc94fe41
commit
322764a8c2
2 changed files with 7 additions and 1 deletions
|
@ -66,7 +66,11 @@ 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()
|
||||
|
||||
option(USE_INTRINSICS "Compile using intrinsics (e.g mmx, sse, msse2)" ON)
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(powerpc|ppc)64le")
|
||||
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)
|
||||
endif()
|
||||
|
||||
if(FFMPEG AND BINKDEC)
|
||||
message(FATAL_ERROR "Only one of FFMPEG and BINKDEC (or neither) can be enabled at a time")
|
||||
|
|
|
@ -113,6 +113,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#define CPUSTRING "e2k"
|
||||
#elif defined(__aarch64__) || defined(__ARM64__) || defined(_M_ARM64)
|
||||
#define CPUSTRING "aarch64"
|
||||
#elif defined(__powerpc64__)
|
||||
#define CPUSTRING "ppc64"
|
||||
#else
|
||||
#error unknown CPU
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue