Skip to content

Commit

Permalink
Fix ARM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Dec 24, 2023
1 parent 87bb896 commit ff2c17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ff2c17c

Please sign in to comment.