From de53f166996e07e603dbbc99b8737b88aa17684a Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:48:36 +0000 Subject: [PATCH] feat link tcmalloc as public --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1587a09..8028ed8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,7 @@ target_link_libraries( # protobuf::libprotoc PRIVATE dl) if(CMAKE_SYSTEM_NAME STREQUAL "Linux") - target_link_libraries(sled PRIVATE tcmalloc_and_profiler_static) + target_link_libraries(sled PUBLIC tcmalloc_and_profiler_static) endif() if(SLED_WITH_PROTOBUF)