Skip to content

Commit

Permalink
Merge pull request #178624 from Homebrew/lci-cmake
Browse files Browse the repository at this point in the history
lci: use modern cmake syntax
  • Loading branch information
chenrui333 committed Jul 27, 2024
2 parents d7cb0e2 + d9b19ce commit e7fa615
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/l/lci.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ class Lci < Formula
conflicts_with "lolcode", because: "both install `lci` binaries"

def install
mkdir "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 e7fa615

Please sign in to comment.