Skip to content

Windows: CMake configure fails (uname missing, AMD64 arch detection, polluted env check) #1096

@krapcys1-maker

Description

@krapcys1-maker

Repro (Windows)

  • OS: Windows 10/11 (AMD64)
  • CMake: (paste output of: cmake --version)
  • Generator: (Ninja or Visual Studio 17 2022)

Steps:

  1. Remove build dir
  2. cmake -S . -B build -G

Actual

  • Configure fails because 'uname' is not available on Windows
  • Arch detection misses AMD64 in x86_64 checks
  • 'polluted env flags' check can fail on Windows where MSVC sets default flags

Expected

  • CMake configure succeeds on Windows with default MSVC environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions