diff options
| author | bunnei <bunneidev@gmail.com> | 2015-07-21 19:49:33 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2015-08-15 17:33:44 -0400 |
| commit | 4d517922856791decfed475cdd536aedcaa25c30 (patch) | |
| tree | e6ac9daf302ea079411052bb0e78428fb71f1440 /src/common/CMakeLists.txt | |
| parent | 3f69c2039de1c3d084ac2c9eb0aa9315490346bf (diff) | |
Common: Ported over Dolphin's code for x86 CPU capability detection.
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 4c086cd2f..cef5081c5 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -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}) |
