Skip to content

Commit 5114749

Browse files
committed
zsxd: modernize cmake build
1 parent c3cab68 commit 5114749

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Formula/z/zsxd.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ class Zsxd < Formula
2929
uses_from_macos "unzip" => :test
3030

3131
def install
32-
system "cmake", ".", *std_cmake_args, "-DSOLARUS_INSTALL_DATADIR=#{share}"
33-
system "make", "install"
32+
system "cmake", "-S", ".", "-B", "build", "-DSOLARUS_INSTALL_DATADIR=#{share}", *std_cmake_args
33+
system "cmake", "--build", "build"
34+
system "cmake", "--install", "build"
3435
end
3536

3637
test do

0 commit comments

Comments
 (0)