Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing authored Mar 18, 2024
1 parent a3b4361 commit 72f3127
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/p/pulsar/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package("pulsar")
set_homepage("https://github.com/apache/pulsar-client-cpp")
set_description("Pulsar C++ client library")
set_license("Apache-2.0")

add_urls("https://github.com/apache/pulsar-client-cpp/archive/refs/tags/v$(version).tar.gz")

Expand All @@ -16,6 +17,7 @@ package("pulsar")
else
configs = table.join(configs, {"-DBUILD_STATIC_LIB=ON", "-DBUILD_DYNAMIC_LIB=OFF"})
end
io.replace("CMakeLists.txt", "add_subdirectory(examples)", "", {plain = true})
import("package.tools.cmake").install(package, configs, {packagedeps = {"zstd", "snappy"}})
end)

Expand Down

0 comments on commit 72f3127

Please sign in to comment.