Skip to content

Fix macOS linker: add Homebrew prefix to CMAKE_PREFIX_PATH#710

Merged
ten9876 merged 1 commit into
mainfrom
auto/Fix-macOS-linker-add-Homebrew-prefix-to-CMAKEPREFI
Apr 5, 2026
Merged

Fix macOS linker: add Homebrew prefix to CMAKE_PREFIX_PATH#710
ten9876 merged 1 commit into
mainfrom
auto/Fix-macOS-linker-add-Homebrew-prefix-to-CMAKEPREFI

Conversation

@ten9876

@ten9876 ten9876 commented Apr 5, 2026

Copy link
Copy Markdown
Collaborator

Homebrew libs (hidapi, fftw, portaudio, qtkeychain) were found by
pkg-config during configure but not by the linker during build.
The aqtinstall Qt sets CMAKE_PREFIX_PATH to its own prefix only,
excluding /opt/homebrew. Adding $(brew --prefix) fixes the link.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Homebrew libs (hidapi, fftw, portaudio, qtkeychain) were found by
pkg-config during configure but not by the linker during build.
The aqtinstall Qt sets CMAKE_PREFIX_PATH to its own prefix only,
excluding /opt/homebrew. Adding $(brew --prefix) fixes the link.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ten9876 ten9876 enabled auto-merge (squash) April 5, 2026 01:19
@ten9876 ten9876 merged commit e9120e6 into main Apr 5, 2026
2 checks passed
@ten9876 ten9876 deleted the auto/Fix-macOS-linker-add-Homebrew-prefix-to-CMAKEPREFI branch April 5, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant