Skip to content

Bug | Linux native build passes macOS CMake architecture variable #231

@AnnaSasDev

Description

@AnnaSasDev

Severity

Medium

Describe the bug

Linux build command sets CMAKE_OSX_ARCHITECTURES, which is macOS-specific and misleading for Linux builds.

Steps to reproduce

  1. Build InfiniFrame.Native.proj on Linux.
  2. Inspect configure command.
  3. Observe -DCMAKE_OSX_ARCHITECTURES=$(CMakeArch).

Expected behavior

Linux-specific architecture handling only.

Actual behavior

Incorrect/misleading configure option.

Logs / Error Output

Minimal reproduction

src/InfiniFrame.Native/InfiniFrame.Native.proj:56

.NET Version

No response

Project Version / Commit

No response

Operating System

No response

Checklist

  • I searched existing issues
  • I can reproduce this consistently
  • I included logs and/or a reproduction

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions