[CMAKE] Add proper global definition for Xbox port (#2250)

CORE-16216
This commit is contained in:
Stanislav Motylkov 2020-01-15 00:15:18 +03:00 committed by Hermès BÉLUSCA - MAÏTO
parent afdb42023c
commit f9e36df4d6

View file

@ -159,6 +159,9 @@ else()
add_definitions(-D_M_IX86)
endif()
add_definitions(-D_X86_ -D__i386__ -Di386)
if(SARCH STREQUAL "xbox")
add_definitions(-DSARCH_XBOX)
endif()
elseif(ARCH STREQUAL "amd64")
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH STREQUAL "arm")