lcm: fix `python3` reference
Closes #111611. Signed-off-by: Branch Vincent <19800529+branchvincent@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
57a30c5e19
commit
394875a930
|
@ -25,15 +25,15 @@ class Lcm < Formula
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Adding RPATH in #{lib}/lua/X.Y/lcm.so and some #{bin}/*.
|
# Adding RPATH in #{lib}/lua/X.Y/lcm.so and some #{bin}/*.
|
||||||
args = std_cmake_args + %W[
|
args = %W[
|
||||||
-DCMAKE_INSTALL_RPATH=#{lib}
|
-DCMAKE_INSTALL_RPATH=#{lib}
|
||||||
-DLCM_ENABLE_EXAMPLES=OFF
|
-DLCM_ENABLE_EXAMPLES=OFF
|
||||||
-DLCM_ENABLE_TESTS=OFF
|
-DLCM_ENABLE_TESTS=OFF
|
||||||
-DLCM_JAVA_TARGET_VERSION=8
|
-DLCM_JAVA_TARGET_VERSION=8
|
||||||
-DPYTHON_EXECUTABLE=#{which("python3")}
|
-DPYTHON_EXECUTABLE=#{which("python3.10")}
|
||||||
]
|
]
|
||||||
|
|
||||||
system "cmake", "-S", ".", "-B", "build", *args
|
system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
|
||||||
system "cmake", "--build", "build"
|
system "cmake", "--build", "build"
|
||||||
system "cmake", "--install", "build"
|
system "cmake", "--install", "build"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue