amqp-cpp: add TCP module
depend on openssl Closes #29598. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
a6a5a145d1
commit
9477246998
1 changed files with 5 additions and 1 deletions
|
@ -15,11 +15,15 @@ class AmqpCpp < Formula
|
|||
needs :cxx11
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "openssl"
|
||||
|
||||
def install
|
||||
ENV.cxx11
|
||||
|
||||
system "cmake", "-DBUILD_SHARED=ON", "-DCMAKE_MACOSX_RPATH=1", *std_cmake_args
|
||||
system "cmake", "-DBUILD_SHARED=ON",
|
||||
"-DCMAKE_MACOSX_RPATH=1",
|
||||
"-DAMQP-CPP_LINUX_TCP=ON",
|
||||
*std_cmake_args
|
||||
system "make"
|
||||
system "make", "install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue