Compare commits

...

5 Commits

Author SHA1 Message Date
Nick Cao
f5a8cbf9e6
Merge 4559e6d47bb69fda0fbd3fb4b7d04ddb1cf5e2ae into bc8bd8c2f8434e790defaa69890c9c2c8c1fadd2 2023-09-21 15:06:21 -06:00
Yancey Wang
bc8bd8c2f8
Merge pull request #475 from gek64/unified
Fix compile errors on FreeBSD/pfSense/OPNsense
2023-09-21 16:35:45 -04:00
gek64
ca16c3a5e6
Merge branch 'wangyu-:unified' into unified 2023-07-27 21:10:28 +08:00
gek64
ec416515f3
Fix compile errors on freebsd 2023-06-14 16:26:10 +08:00
Nick Cao
4559e6d47b
Add install target to CMakeLists.txt 2023-05-13 12:37:27 +08:00
2 changed files with 3 additions and 1 deletions

View File

@ -33,3 +33,5 @@ target_link_libraries(udp2raw rt)
target_link_libraries(udp2raw pthread)
include_directories(SYSTEM "libev")
include_directories(".")
install(TARGETS udp2raw)

View File

@ -103,7 +103,7 @@ linux:git_version
${cc_local} -o ${NAME}_$@ -I. ${SOURCES} ${PCAP} ${FLAGS} -lrt -ggdb -static -O2 ${MP}
freebsd:git_version
${cc_local} -o ${NAME}_$@ -I. ${SOURCES} ${PCAP} ${FLAGS} -lrt -ggdb -static -O2 ${MP}
${cc_local} -o ${NAME}_$@ -I. ${SOURCES} ${PCAP} ${FLAGS} -lrt -ggdb -static -libverbs -O2 ${MP}
mac:git_version
${cc_local} -o ${NAME}_$@ -I. ${SOURCES} ${PCAP} ${FLAGS} -ggdb -O2 ${MP}