cmark: use CMAKE_INSTALL_LIBDIR to set pkg-config file install dir

Closes #19299.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
JCount 2017-10-11 05:47:31 -04:00 committed by ilovezfs
parent 323909a563
commit f1367988e6

View file

@ -17,7 +17,7 @@ class Cmark < Formula
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "cmake", "..", "-DCMAKE_INSTALL_LIBDIR=lib", *std_cmake_args
system "make"
system "make", "test"
system "make", "install"