summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
author杨威 <[email protected]>2022-06-24 19:05:56 +0800
committer杨威 <[email protected]>2022-07-01 11:11:52 +0800
commitb096edb7d1d0584fc31bc07922b640aadc274d49 (patch)
tree2a357e13c8acede0755d89fc646e0e645ead2bc4 /test/CMakeLists.txt
parentb2f8b46a36ed04b412cfcaac1c40e69fcf526fd5 (diff)
🔧 build(sapp_devel cmakelist): 移除command生成sapp_devel.so逻辑,改为add_library
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 0d49da9..a6a4e90 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -24,13 +24,13 @@ add_library(sapp_devel SHARED sapp_devel.cpp)
target_link_libraries(sapp_devel -Wl,--whole-archive sapp_dev dealpkt packet_io packet_io_pcap packet_io_marsio common
config inner_plug gdev_assistant sapp_assistant plugctrl project timer dictator2
md5 symbol_check tomlc99_wrap MESA_socket_wrap timestamp_record
- MESA_sleep dpdk_ip_hash cpu_limit libevent-static libdabloom-static -Wl,--no-whole-archive)
+ MESA_sleep dpdk_ip_hash cpu_limit timeout libevent-static libdabloom-static -Wl,--no-whole-archive)
add_library(sapp_devel_static STATIC sapp_devel.cpp)
target_link_libraries(sapp_devel sapp_dev dealpkt packet_io packet_io_pcap packet_io_marsio common
config inner_plug gdev_assistant sapp_assistant plugctrl project timer dictator2
md5 symbol_check tomlc99_wrap MESA_socket_wrap timestamp_record
- MESA_sleep dpdk_ip_hash cpu_limit libevent-static libdabloom-static)
+ MESA_sleep dpdk_ip_hash cpu_limit timeout libevent-static libdabloom-static)
set_target_properties(sapp_devel_static PROPERTIES OUTPUT_NAME sapp_devel)