cmake: find readline on macOS ARM

This commit is contained in:
selsta 2021-11-17 02:06:25 +01:00
parent 6d94953be2
commit 7bc261b506
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
find_path(Readline_ROOT_DIR
NAMES include/readline/readline.h
PATHS /usr/local/opt/readline/ /opt/local/ /usr/local/ /usr/
PATHS /usr/local/opt/readline/ /opt/homebrew/opt/readline/ /opt/local/ /usr/local/ /usr/
NO_DEFAULT_PATH
)