feat link tcmalloc as public

This commit is contained in:
tqcq 2024-04-29 15:48:36 +00:00
parent 47f4beac5e
commit de53f16699

View File

@ -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)