From f714fec4b1dee40bf371e98178b3edf7517de79d Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Thu, 3 Apr 2025 18:55:12 +0800 Subject: [PATCH] encfs-mac: fix build Closes #112. Signed-off-by: Adrian Ho <215702+gromgit@users.noreply.github.com> --- Formula/encfs-mac.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/encfs-mac.rb b/Formula/encfs-mac.rb index 19d52be..7a8d121 100644 --- a/Formula/encfs-mac.rb +++ b/Formula/encfs-mac.rb @@ -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"