mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 01:15:46 -04:00
CMake: Support multiple CMAKE_OSX_ARCHITECTURES
This commit is contained in:
@ -5,7 +5,7 @@ set(SRCS
|
||||
|
||||
add_library(xxhash ${SRCS})
|
||||
|
||||
if(${CPU_ARCH} STREQUAL "x86" OR ${CPU_ARCH} STREQUAL "x64")
|
||||
if(CPU_ARCH_X86 OR CPU_ARCH_X64)
|
||||
# Required if building with -mavx or -march=native, but you shouldn't be building with it.
|
||||
target_compile_definitions(xxhash PRIVATE "XXH_X86DISPATCH_ALLOW_AVX")
|
||||
target_sources(xxhash PRIVATE
|
||||
|
Reference in New Issue
Block a user