Skip to content

Commit

Permalink
vrpn: fix MacOS references.
Browse files Browse the repository at this point in the history
Needed after Homebrew/brew#16306.
  • Loading branch information
MikeMcQuaid committed Dec 14, 2023
1 parent 0f69985 commit 02f0913
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Formula/v/vrpn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ class Vrpn < Formula

def install
mkdir "build" do
system "cmake", "..", *std_cmake_args,
"-DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path}",
"-DVRPN_BUILD_CLIENTS:BOOL=OFF",
"-DVRPN_BUILD_JAVA:BOOL=OFF"
cmake_args = [
"-DVRPN_BUILD_CLIENTS:BOOL=OFF",
"-DVRPN_BUILD_JAVA:BOOL=OFF",
]
cmake_args << "-DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path}" if OS.mac?

system "cmake", "..", *std_cmake_args, *cmake_args
system "make", "install"
end
end
Expand Down

0 comments on commit 02f0913

Please sign in to comment.