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

Include Platform Paths files for the host #1826

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Include Platform Paths files for the host #1826

merged 1 commit into from
Aug 15, 2024

Conversation

will-v-pi
Copy link
Contributor

This fixes searching for installed picotool/pioasm on Windows, and generally improves default find_package behaviour on Unix platforms too.

Without this some of the paths searched by find_package, such as CMAKE_SYSTEM_PREFIX_PATH, will not be populated. See the find_package documentation for more details on how the CMAKE_SYSTEM_PREFIX_PATH is used when searching for installed packages (eg picotool/pioasm).

This fixes searching for installed picotool/pioasm on Windows, and generally improves default find_package behaviour
@will-v-pi will-v-pi requested a review from kilograham August 15, 2024 16:19
@will-v-pi will-v-pi added this to the 2.0.1 milestone Aug 15, 2024
@kilograham kilograham merged commit a6f21b6 into develop Aug 15, 2024
2 checks passed
@kilograham kilograham deleted the host-paths branch August 15, 2024 16:29
will-v-pi added a commit to will-v-pi/pico-sdk that referenced this pull request Aug 19, 2024
This fixes searching for installed picotool/pioasm on Windows, and generally improves default find_package behaviour
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.

2 participants