Skip to content

Commit

Permalink
lci: 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 Jul 26, 2024
1 parent 9f46f6d commit d9b19ce
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 d9b19ce

Please sign in to comment.