We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed05f5 commit dedcbecCopy full SHA for dedcbec
cmake/modules/AddSwift.cmake
@@ -325,7 +325,7 @@ function(_add_variant_link_flags)
325
RESULT_VAR_NAME result)
326
327
if("${LFLAGS_SDK}" STREQUAL "LINUX")
328
- list(APPEND result "-lpthread" "-ldl")
+ list(APPEND result "-lpthread" "-ldl" "-latomic")
329
elseif("${LFLAGS_SDK}" STREQUAL "FREEBSD")
330
list(APPEND result "-lpthread")
331
elseif("${LFLAGS_SDK}" STREQUAL "CYGWIN")
0 commit comments