Skip to content

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

@gco

Description

@gco

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @gco

      Issue actions

        Don't set CMAKE_SYSTEM_NAME=SunOS (and probably others) · Issue #151 · rust-lang/cmake-rs