We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc96516 commit 34352d4Copy full SHA for 34352d4
src/bootstrap/native.rs
@@ -383,6 +383,8 @@ fn configure_cmake(
383
cfg.define("CMAKE_SYSTEM_NAME", "Windows");
384
} else if target.contains("haiku") {
385
cfg.define("CMAKE_SYSTEM_NAME", "Haiku");
386
+ } else if target.contains("solaris") || target.contains("illumos") {
387
+ cfg.define("CMAKE_SYSTEM_NAME", "SunOS");
388
}
389
// When cross-compiling we should also set CMAKE_SYSTEM_VERSION, but in
390
// that case like CMake we cannot easily determine system version either.
0 commit comments