Skip to content

Resolve "fix(build): issues with GLM"

Flavien BRIDAULT requested to merge 938-fix-build-issues-with-glm into dev

Description

Since GLMConfig.cmake is correct on Windows and buggy on Ubuntu, we use a different approach depending on the platform:

  • Use the old-ish system with target_include_directories on Linux
  • Use glmConfig.cmake on Windows (but everywhere this time)

Closes #938 (closed)

How to test it?

Build a dependent repository. Using find_package(GLM...) twice in a row should not break.

Edited by Flavien BRIDAULT

Merge request reports