From 1721c85d03dfc365dba4684c6012e5b091168f68 Mon Sep 17 00:00:00 2001 From: Basit Ayantunde Date: Wed, 6 Sep 2023 15:48:30 +0100 Subject: [PATCH] totally removed cmake libatomic linking --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fe0d23..50f8a96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,10 +89,6 @@ target_link_libraries(stx Threads::Threads) add_library(stx::stx ALIAS stx) -if(${ATOMIC_LIBRARY_FOUND}) - add_compile_options("-latomic") -endif() - if(${STX_ENABLE_BACKTRACE}) target_link_libraries(stx absl::stacktrace absl::symbolize) target_compile_definitions(stx PRIVATE "STX_ENABLE_BACKTRACE")