From f1d25aea64d21a90c8b6a536eb5da8a5c54853cf Mon Sep 17 00:00:00 2001 From: Sam Gwydir Date: Thu, 15 Sep 2022 13:53:40 -0700 Subject: [PATCH] Linking atomic explicitly is not needed --- cmake/ConfigureCompiler.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmake/ConfigureCompiler.cmake b/cmake/ConfigureCompiler.cmake index 2bb1f72c9a..0b6fad2b44 100644 --- a/cmake/ConfigureCompiler.cmake +++ b/cmake/ConfigureCompiler.cmake @@ -290,9 +290,6 @@ else() add_link_options(-stdlib=libc++ -Wl,-build-id=sha1) endif() endif() - if (NOT APPLE) - add_link_options(-latomic) - endif() if (OPEN_FOR_IDE) add_compile_options( -Wno-unknown-attributes)