Skip to content

Commit

Permalink
totally removed cmake libatomic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr committed Sep 6, 2023
1 parent 683f716 commit 1721c85
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1721c85

Please sign in to comment.