Skip to content

Conversation

MennoVink
Copy link

My dependent project uses set( CMAKE_CXX_STANDARD 20 ) and has /W0 set for libraries. This causes warnings to be generated from the EASTL sources as a result of the settings being injected by CommonCppFlags.cmake.

This pull request still keeps W4 for EASTL, but falls back to replacing rather than appending to prevent duplicating the /W# argument. It also unsets CMAKE_CXX_STANDARD to prevent cmake from generating a duplicate language specification.

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