Skip to content

Commit

Permalink
Merge pull request #183894 from Homebrew/qhull-cmake
Browse files Browse the repository at this point in the history
qhull: use modern cmake syntax
  • Loading branch information
p-linnane authored Sep 9, 2024
2 parents 801f19d + 47c139a commit ea785e6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Formula/q/qhull.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ class Qhull < Formula
depends_on "cmake" => :build

def install
ENV.cxx11

cd "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end

test do
Expand Down

0 comments on commit ea785e6

Please sign in to comment.