File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 steps :
99 - name : Checkout
1010 uses : actions/checkout@v3.0.1
11+ with :
12+ submodules : true
1113 - name : Install libpcap-dev
1214 run : sudo apt install libpcap-dev
1315 - name : Set up JDK 11
Original file line number Diff line number Diff line change 1+ [submodule "src/main/c/libpcap "]
2+ path = src/main/c/libpcap
3+ url = https://github.com/the-tcpdump-group/libpcap
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ project(pcap-native LANGUAGES C)
55set (CMAKE_C_STANDARD 99)
66set (CMAKE_C_STANDARD_REQUIRED ON )
77
8+ add_subdirectory (libpcap )
9+ set_property (TARGET pcap PROPERTY SOVERSION )
10+ set_property (TARGET pcap PROPERTY VERSION )
11+
812set (LIB_OUTPUT_DIR ${CMAKE_BINARY_DIR } /lib)
913set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LIB_OUTPUT_DIR} )
1014set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${LIB_OUTPUT_DIR} )
You can’t perform that action at this time.
0 commit comments