summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2016-09-22 13:11:41 +0800
committerQiuwen Lu <[email protected]>2016-09-22 13:11:41 +0800
commit511445909125982a8f4fbf9cde2ca3819914f0c6 (patch)
tree42b1ae0ef80a772a1cced0e0b5c1b724c129ddd1 /examples
parent478ea27704af72f625ac3c8ea4ba4093570088c6 (diff)
优化pag数据包获取机制,解决pag数据包重复释放等问题。
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 70c99c1..d17b189 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,10 +1,10 @@
find_package(DPDK REQUIRED)
include_directories(${CMAKE_SOURCE_DIR}/include)
-include_directories(${CMAKE_SOURCE_DIR}/include/extern)
-include_directories(${CMAKE_SOURCE_DIR}/include/internal)
include_directories(${DPDK_INCLUDE_DIR})
add_definitions(${DPDK_C_PREDEFINED})
-include_directories(${CMAKE_SOURCE_DIR}/include/extern)
add_executable(testapp testapp.c)
-target_link_libraries(testapp marsio) \ No newline at end of file
+target_link_libraries(testapp marsio)
+
+add_executable(pag_rx_sample pag/rx_sample.c)
+target_link_libraries(pag_rx_sample pag) \ No newline at end of file