summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authoryangwei <[email protected]>2023-08-25 20:52:20 +0800
committeryangwei <[email protected]>2023-08-25 20:52:20 +0800
commit7bbf7a8250384fbdcc1ccb74bd4cf3edf22a0b97 (patch)
tree236ed95c1592ddf93445eba97085436ae0282a68 /benchmark
parent7f030e53c0b78d0b3dedbb0a5bed4b7dcb4de4fd (diff)
🔧 build(jemalloc-static): sapp_devel启用jemalloc时,显式链接
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/example/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/benchmark/example/CMakeLists.txt b/benchmark/example/CMakeLists.txt
index af50568..f2b060b 100644
--- a/benchmark/example/CMakeLists.txt
+++ b/benchmark/example/CMakeLists.txt
@@ -15,15 +15,9 @@ add_definitions(-std=c++11)
#add_executable(test_cjson_compare test_cjson_compare.cpp)
#target_link_libraries(test_cjson_compare sapp_benchmark)
-#if(MEM_POOL STREQUAL "JEMALLOC_STATIC")
-# target_link_libraries(test_cjson_compare libjemalloc-static)
-#endif()
#add_executable(test_sapp_benchmark test_sapp_benchmark.cpp)
#target_link_libraries(test_sapp_benchmark sapp_benchmark)
-#if(MEM_POOL STREQUAL "JEMALLOC_STATIC")
-# target_link_libraries(test_sapp_benchmark libjemalloc-static)
-#endif()
add_library(test_benchmark_plug SHARED test_plug.cpp)
target_link_libraries(test_benchmark_plug sapp_benchmark)