Skip to content

Commit 74011c6

Browse files
authored
Merge pull request Homebrew#182589 from Homebrew/zsxd-cmake
zsxd: modernize cmake build
2 parents 40e1947 + 5114749 commit 74011c6

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)