Skip to content

Commit

Permalink
highs: migrate to pkgconf
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Nov 22, 2024
1 parent 54926d7 commit c93c895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/h/highs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ class Highs < Formula
end

depends_on "cmake" => :build
depends_on "pkg-config" => :build
depends_on "pkgconf" => :build

uses_from_macos "zlib"

def install
system "cmake", "-S", ".", "-B", "build",
*std_cmake_args,
"-DCMAKE_INSTALL_RPATH=#{rpath}"
"-DCMAKE_INSTALL_RPATH=#{rpath}",
*std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
pkgshare.install "check", "examples"
Expand Down

0 comments on commit c93c895

Please sign in to comment.