Skip to content

Commit

Permalink
Add path to libarchive installed from Homebrew on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
nohal committed Jun 4, 2024
1 parent f41aa70 commit 8ffe937
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/FindOcpnLibarchive.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ffe937

Please sign in to comment.