diff options
Diffstat (limited to 'src/crypto/CMakeLists.txt')
-rw-r--r-- | src/crypto/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt index 5ce43be22..6e774b8d5 100644 --- a/src/crypto/CMakeLists.txt +++ b/src/crypto/CMakeLists.txt @@ -46,9 +46,12 @@ set(crypto_sources skein.c slow-hash.c CryptonightR_JIT.c - CryptonightR_template.S tree-hash.c) +if(ARCH_ID STREQUAL "i386" OR ARCH_ID STREQUAL "x86_64" OR ARCH_ID STREQUAL "x86-64") +list(APPEND crypto_sources CryptonightR_template.S) +endif() + set(crypto_headers) set(crypto_private_headers |