Fix linking protobuf-cpp (#3899)

* Fix linking protobuf-cpp

* Update xmake.lua

---------

Co-authored-by: Jérôme Leclercq <lynix680@gmail.com>
pull/3902/head
Maxime 7 months ago committed by GitHub
parent 8ef765adc1
commit 2f27f317a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/p/protobuf-cpp/xmake.lua

@ -31,9 +31,9 @@ package("protobuf-cpp")
add_deps("cmake") add_deps("cmake")
if is_plat("windows") then if is_plat("windows") then
add_links("libprotobuf") add_links("libprotobuf", "libprotoc", "utf8_range", "utf8_validity")
else else
add_links("protobuf") add_links("protobuf", "protoc", "utf8_range", "utf8_validity")
end end
if is_plat("linux") then if is_plat("linux") then

Loading…
Cancel
Save