-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Set CMAKE_SYSTEM_NAME globally #47192
Comments
Closed in favor of #25477 |
Just to note here that, for mingw builds, setting CMAKE_CROSSCOMPILING but not CMAKE_SYSTEM_NAME may not be enough for cmake to figure out that the target system is Windows. So, at least for mingw, it seems that CMAKE_SYSTEM_NAME still needs to be set globally. For reference, here's the output for building brotli with CMAKE_CROSSCOMPILING=True but without CMAKE_SYSTEM_NAME=Windows:
|
Issue description
Tracking issue for setting CMAKE_SYSTEM_NAME for proper CMake support for cross compilation. Most likely we will need to create a cmake wrapper to handle this.
See discussion in #46773.
The text was updated successfully, but these errors were encountered: