From b93be29a3003c47403015363c6fec5a8a409e16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 9 May 2022 23:04:09 +0200 Subject: [PATCH] Tweak -latomic preconditions in CMakeLists.txt. See comments on 14e9aab96e111 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b8236de76..22b4b802c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1272,7 +1272,7 @@ if(LINUX AND NOT ANDROID) endif() set(ATOMIC_LIB) -if(LINUX) +if(ANDROID OR (LINUX AND ARM_DEVICE)) set(ATOMIC_LIB atomic) endif()