From 14e9aab96e11126ccc62af87e34d3831c04bb3b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 7 May 2022 13:04:42 +0200 Subject: [PATCH] Enable -latomic on Linux. Fixes build on Raspberry Pi 3b for me. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f582b0c12138..0b8236de76a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1272,7 +1272,7 @@ if(LINUX AND NOT ANDROID) endif() set(ATOMIC_LIB) -if(ANDROID) +if(LINUX) set(ATOMIC_LIB atomic) endif()