summaryrefslogtreecommitdiffstats
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-07-22 01:49:33 +0200
committerbunnei <bunneidev@gmail.com>2015-08-15 23:33:44 +0200
commit4d517922856791decfed475cdd536aedcaa25c30 (patch)
treee6ac9daf302ea079411052bb0e78428fb71f1440 /src/common/CMakeLists.txt
parentShader: Define a common interface for running vertex shader programs. (diff)
downloadyuzu-4d517922856791decfed475cdd536aedcaa25c30.tar
yuzu-4d517922856791decfed475cdd536aedcaa25c30.tar.gz
yuzu-4d517922856791decfed475cdd536aedcaa25c30.tar.bz2
yuzu-4d517922856791decfed475cdd536aedcaa25c30.tar.lz
yuzu-4d517922856791decfed475cdd536aedcaa25c30.tar.xz
yuzu-4d517922856791decfed475cdd536aedcaa25c30.tar.zst
yuzu-4d517922856791decfed475cdd536aedcaa25c30.zip
Diffstat (limited to '')
-rw-r--r--src/common/CMakeLists.txt8
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})