feat only link cpu profiler
All checks were successful
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 2m8s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m8s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m43s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m47s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m55s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 3m29s

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
PRIVATE dl)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(sled PUBLIC tcmalloc_and_profiler_static)
target_link_libraries(sled PUBLIC profiler_static)
endif()
if(SLED_WITH_PROTOBUF)