Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid picking system-wide dependencies #59

Open
alexey-lysiuk opened this issue Apr 24, 2023 · 0 comments
Open

Avoid picking system-wide dependencies #59

alexey-lysiuk opened this issue Apr 24, 2023 · 0 comments

Comments

@alexey-lysiuk
Copy link
Collaborator

Exclude any system-wide paths that may affect dependency lookup.

Mainly, it should be done for CMake based targets. Addition of knows paths to CMAKE_SYSTEM_IGNORE_PREFIX_PATH CMake variable (like /usr/local, Homebrew and MacPorts prefixes), and setting CMAKE_TOOLCHAIN_FILE environment variable to an empty string are the primary things to consider.

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

No branches or pull requests

1 participant