mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 04:37:51 +00:00
Common: Ported over Dolphin's code for x86 CPU capability detection.
This commit is contained in:
parent
5794310781
commit
432d1c5263
5 changed files with 286 additions and 19 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue