feat link tcmalloc as public
Some checks failed
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 2m9s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 2m22s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 2m31s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 2m37s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m38s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 3m39s

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)