vrpn: avoid opportunistic linkage against java

Closes #31183.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Chongyu Zhu 2018-08-17 01:29:25 +08:00
parent 302952b33b
commit 95fd0d6881
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -27,6 +27,7 @@ class Vrpn < Formula
args = std_cmake_args
args << "-DCMAKE_OSX_SYSROOT=#{MacOS.sdk_path}"
args << "-DVRPN_BUILD_JAVA:BOOL=OFF"
if build.with? "clients"
args << "-DVRPN_BUILD_CLIENTS:BOOL=ON"