Closed
Description
Homebrew's default location for ARM/M-series chips macOSs is /opt/homebrew/opt/libarchive/include
(see /opt/homebrew/opt/libarchive/include). This causes the cmake -B build
to fail because LibArchive_INCLUDE_PATH
is set to the path homebrew uses for Intel macs).
These are the offending lines:
zeal/src/libs/core/CMakeLists.txt
Lines 34 to 36 in de213a7
It would probably be better to get brew's prefix with $(brew --prefix)
or to predicate the prefix on the architecture.
I don't know enough CMAKE to do this myself unfortunately.
Cheers
Metadata
Metadata
Assignees
Labels
No labels