summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-08-29 17:59:19 +0800
committeryangwei <[email protected]>2024-08-29 18:16:37 +0800
commitcc2d2be3241da68f417fb826ec995d5036e7e328 (patch)
treeed4cb62f8bdfa400797dab2ec32b8a936d66a88f /test
parent4060f1bb09024ecf46e1389618cf0ab7673e7cec (diff)
🔧 build(infra build): refactor build parameters
Diffstat (limited to 'test')
-rw-r--r--test/debug_plugin/CMakeLists.txt2
-rw-r--r--test/packet_tool/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/debug_plugin/CMakeLists.txt b/test/debug_plugin/CMakeLists.txt
index 218462f..19f3159 100644
--- a/test/debug_plugin/CMakeLists.txt
+++ b/test/debug_plugin/CMakeLists.txt
@@ -1,6 +1,6 @@
# build libdebug_plugin.so
add_library(debug_plugin SHARED debug_plugin.c)
-target_link_libraries(debug_plugin stellar_devel session_manager packet)
+target_link_libraries(debug_plugin stellar_devel session_manager packet_parser)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/)
target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/infra/core/utils)
set_target_properties(debug_plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map")
diff --git a/test/packet_tool/CMakeLists.txt b/test/packet_tool/CMakeLists.txt
index 54b1207..981c32a 100644
--- a/test/packet_tool/CMakeLists.txt
+++ b/test/packet_tool/CMakeLists.txt
@@ -1,5 +1,5 @@
add_executable(packet_tool packet_tool.c)
-target_link_libraries(packet_tool packet pcap)
+target_link_libraries(packet_tool packet_parser pcap)
file(COPY split_pcap.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY cmp_layers.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) \ No newline at end of file