summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-06-22 23:55:37 +0200
committerGitHub <noreply@github.com>2018-06-22 23:55:37 +0200
commit971972069cc2813ee7fa5b630c67baab2b35d12d (patch)
tree2322503cb5a800492e10b029881c7516887cd92c /Source/UnitTests/Common
parent1da868ee820e2c63609cbd72a591b30916612cc8 (diff)
parentc4fb07f428fe5279a2871c4db490a1e65021a03c (diff)
Merge pull request #7148 from lioncash/build
Common, DSP: Only compile in x86-64 emitter related utilities on x86 platforms
Diffstat (limited to 'Source/UnitTests/Common')
-rw-r--r--Source/UnitTests/Common/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/UnitTests/Common/CMakeLists.txt b/Source/UnitTests/Common/CMakeLists.txt
index ecd8ca0f29..120fee6c33 100644
--- a/Source/UnitTests/Common/CMakeLists.txt
+++ b/Source/UnitTests/Common/CMakeLists.txt
@@ -15,5 +15,7 @@ add_dolphin_test(SPSCQueueTest SPSCQueueTest.cpp)
add_dolphin_test(StringUtilTest StringUtilTest.cpp)
add_dolphin_test(SwapTest SwapTest.cpp)
-add_dolphin_test(x64EmitterTest x64EmitterTest.cpp)
-target_link_libraries(x64EmitterTest PRIVATE bdisasm)
+if (_M_X86)
+ add_dolphin_test(x64EmitterTest x64EmitterTest.cpp)
+ target_link_libraries(x64EmitterTest PRIVATE bdisasm)
+endif()