Tweak -latomic preconditions in CMakeLists.txt. See comments on 14e9aab96e

This commit is contained in:
Henrik Rydgård 2022-05-09 23:04:09 +02:00
parent 64c71e9aa7
commit b93be29a30

View File

@ -1272,7 +1272,7 @@ if(LINUX AND NOT ANDROID)
endif() endif()
set(ATOMIC_LIB) set(ATOMIC_LIB)
if(LINUX) if(ANDROID OR (LINUX AND ARM_DEVICE))
set(ATOMIC_LIB atomic) set(ATOMIC_LIB atomic)
endif() endif()