Skip to content

Commit cfe11fc

Browse files
messensethomcc
authored andcommitted
Stop always setting CMAKE_SYSTEM_NAME to SunOS for solaris
Fixes #151
1 parent 16d6bd5 commit cfe11fc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,6 @@ impl Config {
448448
if !self.defined("CMAKE_SYSTEM_NAME") {
449449
self.define("CMAKE_SYSTEM_NAME", "Generic");
450450
}
451-
} else if target.contains("solaris") {
452-
if !self.defined("CMAKE_SYSTEM_NAME") {
453-
self.define("CMAKE_SYSTEM_NAME", "SunOS");
454-
}
455451
} else if target != host && !self.defined("CMAKE_SYSTEM_NAME") {
456452
// Set CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR when cross compiling
457453
let os = getenv_unwrap("CARGO_CFG_TARGET_OS");

0 commit comments

Comments
 (0)