Skip to content

Commit 5ebef86

Browse files
committed
zsdx: modernize cmake build
1 parent ea6ab09 commit 5ebef86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Formula/z/zsdx.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ class Zsdx < Formula
2727
uses_from_macos "unzip" => :test
2828

2929
def install
30-
system "cmake", ".", *std_cmake_args, "-DSOLARUS_INSTALL_DATADIR=#{share}"
31-
system "make", "install"
30+
system "cmake", "-S", ".", "-B", "build", "-DSOLARUS_INSTALL_DATADIR=#{share}", *std_cmake_args
31+
system "cmake", "--build", "build"
32+
system "cmake", "--install", "build"
3233
end
3334

3435
test do

0 commit comments

Comments
 (0)