feat only link cpu profiler

This commit is contained in:
tqcq 2024-04-30 16:11:22 +08:00
parent 07b72a53ec
commit 5ffe6c71f9

View File

@ -110,7 +110,7 @@ target_link_libraries(
# protobuf::libprotoc # protobuf::libprotoc
PRIVATE dl) PRIVATE dl)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux") if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(sled PUBLIC tcmalloc_and_profiler_static) target_link_libraries(sled PUBLIC profiler_static)
endif() endif()
if(SLED_WITH_PROTOBUF) if(SLED_WITH_PROTOBUF)