Skip to content

Commit

Permalink
Add frameworks for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Doekin committed Oct 6, 2024
1 parent de66012 commit fce7531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/p/pcapplusplus/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ package("pcapplusplus")

if is_plat("windows", "mingw") then
add_syslinks("ws2_32", "iphlpapi")
elseif is_plat("macosx") then
add_frameworks("CoreFoundation", "Foundation", "IOKit")
end

add_deps("cmake")
Expand Down

0 comments on commit fce7531

Please sign in to comment.