From ff2c17c5469df0d954d68ee417207582b79fdb08 Mon Sep 17 00:00:00 2001 From: Daniel Strano Date: Sun, 24 Dec 2023 10:56:17 -0500 Subject: [PATCH] Fix ARM builds --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fc4425a0..d7d278b81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,9 +63,9 @@ endif (ENABLE_EMIT_LLVM) set(QRACK_LIBS qrack) if (ENABLE_PTHREAD) - if (ANDROID OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^riscv") + if (ANDROID OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^riscv" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm") set(QRACK_LIBS ${QRACK_LIBS} atomic) - endif (ANDROID OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^riscv") + endif (ANDROID OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^riscv" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm") if (NOT ANDROID AND NOT MSVC) set(QRACK_LIBS ${QRACK_LIBS} pthread) endif (NOT ANDROID AND NOT MSVC)