[Build/Kernel] Guard zlib-ng x86 SIMD defines behind XE_TARGET_X86_64
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
add_library(xenia-kernel STATIC)
|
||||
xe_platform_sources(xenia-kernel ${CMAKE_CURRENT_SOURCE_DIR} RECURSIVE)
|
||||
target_compile_definitions(xenia-kernel PRIVATE
|
||||
X86_FEATURES
|
||||
X86_HAVE_XSAVE_INTRIN
|
||||
X86_SSSE3
|
||||
X86_SSE42
|
||||
WITH_GZFILEOP
|
||||
)
|
||||
if(WIN32)
|
||||
target_compile_definitions(xenia-kernel PRIVATE WITH_GZFILEOP)
|
||||
if(XE_TARGET_X86_64)
|
||||
target_compile_definitions(xenia-kernel PRIVATE
|
||||
X86_FEATURES
|
||||
X86_HAVE_XSAVE_INTRIN
|
||||
X86_SSE2
|
||||
X86_SSSE3
|
||||
X86_SSE42
|
||||
X86_AVX2
|
||||
X86_AVX512
|
||||
X86_AVX512VNNI
|
||||
|
||||
Reference in New Issue
Block a user