Skip to content

Conversation

@seanharmer
Copy link

When using gli in a project that also uses glm and adds
preprocessor definitions on the command line, gli triggers
compiler warnings such as:

gli/./core/levels.inl:2: warning: "GLM_ENABLE_EXPERIMENTAL" redefined

This commit fixes this by only defining the preprocessor symbols
if they are not already present. This helps maintain warning-free
downstream code.

When using gli in a project that also uses glm and adds
preprocessor definitions on the command line, gli triggers
compiler warnings such as:

gli/./core/levels.inl:2: warning: "GLM_ENABLE_EXPERIMENTAL" redefined

This commit fixes this by only defining the preprocessor symbols
if they are not already present. This helps maintain warning-free
downstream code.
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