Skip to content

cmake: populate CMAKE_FIND_ROOT_PATH when cross-compiling for a different architecture on Linux #1660

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

illwieckz
Copy link
Member

@illwieckz illwieckz commented May 2, 2025

Populate CMAKE_FIND_ROOT_PATH when cross-compiling on Linux.

Fix:

@illwieckz illwieckz force-pushed the illwieckz/cmake-root-path branch from 28a26b1 to c8674cf Compare May 2, 2025 00:42
@illwieckz illwieckz changed the title cmake: populate CMAKE_FIND_ROOT_PATH when cross-compiling on Linux cmake: populate CMAKE_FIND_ROOT_PATH when cross-compiling for a different architecture on Linux Jun 12, 2025
@illwieckz illwieckz force-pushed the illwieckz/cmake-root-path branch from c8674cf to e5ca00f Compare June 12, 2025 12:51
@illwieckz
Copy link
Member Author

I modified a bit the comments to make them more understandable.

@slipher
Copy link
Member

slipher commented Jun 12, 2025

Why is it inside if (DEPS_DIR) ?

@illwieckz illwieckz force-pushed the illwieckz/cmake-root-path branch from e5ca00f to be87af0 Compare June 12, 2025 14:19
@illwieckz
Copy link
Member Author

Right, it's not needed to be there, I moved it out of that block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants