Files
WoWee/tests
Kelsi 1f86130888 fix(tests): link glm::glm into test_open_formats + emitter
Both test targets pull in pipeline source (wowee_building.cpp,
wowee_collision.cpp, etc.) that transitively includes
<glm/glm.hpp>, but neither target was declaring a dependency
on the glm::glm CMake target.

On Linux the system glm headers in /usr/include happened to
resolve, so local builds worked. On macOS arm64 CI the glm
headers live in /opt/homebrew/include which isn't in the
implicit include search path — the build was failing with:

  include/pipeline/wowee_building.hpp:3:10: fatal error:
    'glm/glm.hpp' file not found
  make[1]: *** [tests/CMakeFiles/test_open_formats.dir/all]
    Error 2

That stopped the macOS Build job at "Linking CXX executable
bin/wowee_editor" → exit 2 — silently breaking every push
that touched the tree for many recent batches.

Fix: add the standard `if(TARGET glm::glm) target_link_
libraries(... PRIVATE glm::glm) endif()` block to both
targets, matching the pattern already used by test_spline,
test_transport_path_repo, test_entity, test_m2_structs, etc.

Verified locally: both targets build clean, wowee_editor
unchanged.
2026-05-09 14:05:57 -07:00
..