diff --git a/CMakeLists.txt b/CMakeLists.txt index f582b0c121..0b8236de76 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()