diff --git a/Formula/c/cmark-gfm.rb b/Formula/c/cmark-gfm.rb index 2ad0a2a53e22..532d3ad670d6 100644 --- a/Formula/c/cmark-gfm.rb +++ b/Formula/c/cmark-gfm.rb @@ -22,8 +22,6 @@ class CmarkGfm < Formula depends_on "cmake" => :build uses_from_macos "python" => :build - conflicts_with "cmark", because: "both install a `cmark.h` header" - def install system "cmake", "-S", ".", "-B", "build", "-DCMAKE_INSTALL_RPATH=#{rpath}", diff --git a/Formula/c/cmark.rb b/Formula/c/cmark.rb index a3f87d49b0cc..5337a4e521fb 100644 --- a/Formula/c/cmark.rb +++ b/Formula/c/cmark.rb @@ -19,12 +19,8 @@ class Cmark < Formula depends_on "cmake" => :build uses_from_macos "python" => :build - conflicts_with "cmark-gfm", because: "both install a `cmark.h` header" - def install - system "cmake", "-S", ".", "-B", "build", - "-DCMAKE_INSTALL_LIBDIR=lib", - *std_cmake_args + system "cmake", "-S", ".", "-B", "build", *std_cmake_args system "cmake", "--build", "build" system "cmake", "--install", "build" end