amqp-cpp: add TCP module

depend on openssl

Closes #29598.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Oleg Utkin 2018-06-30 15:28:36 +03:00 committed by ilovezfs
parent a6a5a145d1
commit 9477246998

View file

@ -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