feat link tcmalloc as public
This commit is contained in:
parent
47f4beac5e
commit
de53f16699
@ -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 PRIVATE tcmalloc_and_profiler_static)
|
target_link_libraries(sled PUBLIC tcmalloc_and_profiler_static)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SLED_WITH_PROTOBUF)
|
if(SLED_WITH_PROTOBUF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user