Skip to content

fix undefined behavior #75

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

Closed

Conversation

selimsandal
Copy link
Contributor

@selimsandal selimsandal commented Jul 3, 2025

When win32 is not defined this line causes undefined behavior:

CMake Error at External/D3D12MemoryAllocator/src/CMakeLists.txt:174 (if):
  if given arguments:

    "OFF" "AND"

  Unknown arguments specified

I think expanding variables is not needed here.

@sawickiap
Copy link
Contributor

Thank you for this contribution. For now I merged it to my fork at https://github.com/sawickiap/D3D12MemoryAllocator

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.

3 participants