From 16e9821044b7f1eccac474c2553ac3744f52ae6b Mon Sep 17 00:00:00 2001 From: Brian Szmyd Date: Wed, 7 Feb 2024 11:24:53 -0700 Subject: [PATCH] Metrics is an object. --- src/CMakeLists.txt | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b54c2fe7..748dbb94 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -36,6 +36,7 @@ list(APPEND CORE_DEPS sisl_options prometheus-cpp::prometheus-cpp userspace-rcu::userspace-rcu + folly::folly ) if(${breakpad_FOUND}) @@ -48,18 +49,14 @@ add_subdirectory(metrics) add_subdirectory(utility) add_subdirectory(wisr) -list(APPEND CORE_LIBS +add_library(sisl_core $ $ ) -list(APPEND CORE_DEPS - folly::folly - breakpad::breakpad +target_link_libraries(sisl_core PUBLIC + ${CORE_DEPS} ) -add_library(sisl_core ${CORE_LIBS}) -target_link_libraries(sisl_core PUBLIC sisl_metrics ${CORE_DEPS}) - # Extensions add_subdirectory(cache) add_subdirectory(file_watcher)