Closed nekohasekai closed 4 years ago
Add
link_libraries(atomic)
to the top-level CMakeLists.txt at line 4: https://github.com/tdlib/td/blob/a0fa744735e524956c6d55287121da69e85c8532/CMakeLists.txt#L4.
@levlam Thanks
just sharing, it is also possible to pass the following to cmake via option
-DCMAKE_CXX_STANDARD_LIBRARIES="-latomic"
error build on debian 10 (armel)