From 77b4921e6368bcabbd4597c5d3f5d51d569800da Mon Sep 17 00:00:00 2001 From: evtrouble <105802875+evtrouble@users.noreply.github.com> Date: Wed, 23 Jul 2025 15:56:27 +0800 Subject: [PATCH] Update CMakeLists.txt fix: remove duplicate library linking warnings on MacOS --- src/observer/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observer/CMakeLists.txt b/src/observer/CMakeLists.txt index 3b6d2ef2c..a4b037491 100644 --- a/src/observer/CMakeLists.txt +++ b/src/observer/CMakeLists.txt @@ -32,7 +32,7 @@ SET(LIBEVENT_STATIC_LINK TRUE) FIND_PACKAGE(Libevent CONFIG REQUIRED) FIND_PACKAGE(jsoncpp CONFIG REQUIRED) -SET(LIBRARIES common pthread dl libevent::core libevent::pthreads JsonCpp::JsonCpp) +SET(LIBRARIES common pthread dl libevent::core libevent::pthreads) # 指定目标文件位置 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)