mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 17:15:46 -04:00
CMake: Support multiple CMAKE_OSX_ARCHITECTURES
This commit is contained in:
@ -49,18 +49,18 @@ if(ENABLE_DISCORD_PRESENCE)
|
||||
disable_compiler_warnings_for_target(discord-rpc)
|
||||
endif()
|
||||
|
||||
if(${CPU_ARCH} STREQUAL "x64")
|
||||
if(CPU_ARCH_X64)
|
||||
add_subdirectory(xbyak EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(zydis EXCLUDE_FROM_ALL)
|
||||
disable_compiler_warnings_for_target(zydis)
|
||||
endif()
|
||||
|
||||
if(${CPU_ARCH} STREQUAL "aarch32" OR ${CPU_ARCH} STREQUAL "aarch64")
|
||||
if(CPU_ARCH_ARM32 OR CPU_ARCH_ARM64)
|
||||
add_subdirectory(vixl EXCLUDE_FROM_ALL)
|
||||
disable_compiler_warnings_for_target(vixl)
|
||||
endif()
|
||||
|
||||
if(${CPU_ARCH} STREQUAL "riscv64")
|
||||
if(CPU_ARCH_RISCV64)
|
||||
add_subdirectory(biscuit EXCLUDE_FROM_ALL)
|
||||
disable_compiler_warnings_for_target(biscuit)
|
||||
add_subdirectory(riscv-disas EXCLUDE_FROM_ALL)
|
||||
|
Reference in New Issue
Block a user