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

[CMake] MSYS variable set in mxe-conf, promptly unset in CMakeSystemSpecificInitialize #3049

Open
Neo-Desktop opened this issue Feb 29, 2024 · 0 comments

Comments

@Neo-Desktop
Copy link

Hi there, as the title says:

The MSYS variable is defined in

<mxe prefix>/usr/<tuple>.<type>/share/cmake/mxe-conf.cmake:38

but then promptly unset by:
<mxe prefix>/usr/<host arch>/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake:16

rendering the variable ineffective.

Due to my relative unfamiliarity with many of CMakes bootstrapping process, I'm not entirely sure how to bypass that (it seems that mxe-conf.cmake should be loaded after the bootstrap has completed)

My current work-around is to add -DMSYS on the command line, and this seems to persist past the bootstrap

Please advise if there is any additional information you require from me

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