encfs-mac: fix build

Closes #112.

Signed-off-by: Adrian Ho <215702+gromgit@users.noreply.github.com>
This commit is contained in:
Adrian Ho 2025-04-03 18:55:12 +08:00 committed by Adrian Ho
parent 897ca8b863
commit f714fec4b1

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"