mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 16:47:51 -05:00
Common: Ported over Dolphin's code for x86 CPU capability detection.
This commit is contained in:
@ -56,6 +56,14 @@ set(HEADERS
|
||||
vector_math.h
|
||||
)
|
||||
|
||||
if(_M_X86)
|
||||
set(SRCS ${SRCS}
|
||||
cpu_detect_x86.cpp)
|
||||
else()
|
||||
set(SRCS ${SRCS}
|
||||
cpu_detect_generic.cpp)
|
||||
endif()
|
||||
|
||||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
|
||||
add_library(common STATIC ${SRCS} ${HEADERS})
|
||||
|
Reference in New Issue
Block a user