pugixml: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:08 +01:00
parent 79af61b3f8
commit 3f70249d0e

View file

@ -16,7 +16,7 @@ class Pugixml < Formula
depends_on "cmake" => :build
def install
shared = (build.with? "shared") ? "ON" : "OFF"
shared = build.with?("shared") ? "ON" : "OFF"
system "cmake", ".", "-DBUILD_SHARED_LIBS=#{shared}",
"-DBUILD_PKGCONFIG=ON", *std_cmake_args
system "make", "install"