Skip to content

Commit

Permalink
qhull: use modern cmake syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Sep 8, 2024
1 parent e8bc1e6 commit 47c139a
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 47c139a

Please sign in to comment.