rust-lang / cmake-rs

Rust build dependency for running cmake
https://docs.rs/cmake
Apache License 2.0
310 stars 123 forks source link

Don't set CMAKE_SYSTEM_NAME=SunOS (and probably others) #151

Closed gco closed 2 years ago

gco commented 2 years ago

This has been seen before, notably #138, but setting CMAKE_SYSTEM_NAME causes cmake to be in a cross-compiling configuration even when it's building native. This causes rust-lang/rust#96054. Only set CMAKE_SYSTEM_NAME when explicitly cross-compiling?

gco commented 2 years ago

That was introduced in 316dca50e0a440995ee01cf8f91625e2d2242b36