encfs-mac: fix build

This commit is contained in:
Adrian Ho 2025-04-03 18:55:12 +08:00
parent 897ca8b863
commit 01d1f19e44

View file

@ -8,7 +8,7 @@ class EncfsMac < Formula
# The code comprising the EncFS library (libencfs) is licensed under the LGPL.
# The main programs (encfs, encfsctl, etc) are licensed under the GPL.
license "GPL-3.0-or-later"
revision 1
revision 2
head "https://github.com/vgough/encfs.git", branch: "master"
bottle do
@ -36,6 +36,7 @@ class EncfsMac < Formula
system "cmake", "-S", ".", "-B", "build",
"-DBUILD_UNIT_TESTS=OFF",
"-DUSE_INTERNAL_TINYXML=OFF",
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
*std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"