Skip to content

Fix GoogleTest CMake generator for MinGW Windows build - #191

Draft
dimanikulin with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-building-binaries-windows
Draft

Fix GoogleTest CMake generator for MinGW Windows build#191
dimanikulin with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-building-binaries-windows

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown

The "Building the binaries for Windows Latest MinGW" CI job was failing because the GoogleTest install step omitted a -G flag, causing CMake to default to "NMake Makefiles" — which requires MSVC's nmake.exe, unavailable in the MinGW environment.

Change

  • .github/workflows/main.yml: Add -G "MinGW Makefiles" to the cmake configure command in the install GoogleTest step.
- cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$HOME/.local" -Dgtest_force_shared_crt=1
+ cmake -Bbuild -DCMAKE_INSTALL_PREFIX="$HOME/.local" -Dgtest_force_shared_crt=1 -G "MinGW Makefiles"

Copilot AI changed the title [WIP] Fix failing GitHub Actions job for building binaries on Windows Fix GoogleTest CMake generator for MinGW Windows build Jun 16, 2026
Copilot AI requested a review from dimanikulin June 16, 2026 18:01

@dimanikulin dimanikulin left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants