Skip to content

Fix building under linux + mingw #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wesmania
Copy link

@Wesmania Wesmania commented Jun 7, 2025

Description

Under Linux + mingw I was unable to build, as linker did not recognize the "/MP" flag. Following some random SO suggestions I added an "if (MINGW)" block that skips this flag, and with that the build passed. Maybe it's the right solution.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Test Configuration:

  • OS: Gentoo Linux
  • Toolchain: mingw, from package dev-util/mingw64-toolchain

Checklist:

  • My code has been formatted with the clang format file
  • New and existing unit tests pass locally with my changes
  • Qt and ImGui demo projects function correctly

Signed-off-by: Igor Kotrasinski <[email protected]>
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.

1 participant