Enable -latomic on Linux. Fixes build on Raspberry Pi 3b for me.

This commit is contained in:
Henrik Rydgård
2022-05-07 13:04:42 +02:00
parent a5967b2030
commit 14e9aab96e

View File

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