From f8e879c989c325fe0f9e3a117495fc8fe86e604e Mon Sep 17 00:00:00 2001 From: eeff <33566201+eeff@users.noreply.github.com> Date: Tue, 30 Jan 2024 16:52:28 +0800 Subject: [PATCH] build: cmake link libatomic --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a85663eba..62e51573c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,7 @@ add_library(neuron-base SHARED) target_sources(neuron-base PRIVATE ${NEURON_BASE_SOURCES} ${NEURON_SRC_PARSE}) target_include_directories(neuron-base PRIVATE include/neuron src) -target_link_libraries(neuron-base libssl.a libcrypto.a) +target_link_libraries(neuron-base atomic libssl.a libcrypto.a) target_link_libraries(neuron-base nng libzlog.so jansson jwt ${CMAKE_THREAD_LIBS_INIT}) add_dependencies(neuron-base neuron-version)