From: Anton Gladky <gladk@debian.org>
Date: Fri, 4 Mar 2022 22:37:05 +0100
Subject: Add missing linkage to latomic (failed on mipsel and armel)

Last-Update: 2020-06-23
---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 47f07be..ed2c02b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -266,6 +266,9 @@ target_link_libraries(openshot-audio PUBLIC ZLIB::ZLIB)
 # Link with dynamic loader for platform
 target_link_libraries(openshot-audio PUBLIC ${CMAKE_DL_LIBS})
 
+# Link with atomic
+target_link_libraries(openshot-audio PRIVATE atomic)
+
 # Create an alias so our EXPORT target name works internally, as well
 add_library(OpenShot::Audio ALIAS openshot-audio)
 
