From d9b19ce388db1799ff39195c8ec5291b0946c65d Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Fri, 26 Jul 2024 17:54:20 -0400 Subject: [PATCH] lci: use modern cmake syntax Signed-off-by: Rui Chen --- Formula/l/lci.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Formula/l/lci.rb b/Formula/l/lci.rb index 0992f7f092c370..08b37f874e314b 100644 --- a/Formula/l/lci.rb +++ b/Formula/l/lci.rb @@ -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