From 8ffe937805baf12c76173e395b8b3c520a194132 Mon Sep 17 00:00:00 2001 From: Pavel Kalian Date: Tue, 4 Jun 2024 12:37:06 -0300 Subject: [PATCH] Add path to libarchive installed from Homebrew on ARM --- cmake/FindOcpnLibarchive.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/FindOcpnLibarchive.cmake b/cmake/FindOcpnLibarchive.cmake index f5c624656d..5002dde62c 100644 --- a/cmake/FindOcpnLibarchive.cmake +++ b/cmake/FindOcpnLibarchive.cmake @@ -28,6 +28,7 @@ endif () if (APPLE) if (OCPN_USE_SYSTEM_LIBARCHIVE AND NOT OCPN_USE_DEPS_BUNDLE) list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/libarchive") + list(APPEND CMAKE_PREFIX_PATH "/opt/homebrew/opt/libarchive") else () # TODO This is a hack, due to the way libarchive is built and # installed in CI build environment