Define GLM_ENABLE_EXPERIMENTAL globally for GTX extension compatibility

This commit is contained in:
Kelsi 2026-02-18 17:49:52 -08:00
parent bf9d3c7b2b
commit aba701aeda

View file

@ -59,6 +59,8 @@ find_package(glm QUIET)
if(NOT glm_FOUND)
message(STATUS "GLM not found, will use system includes or download")
endif()
# GLM GTX extensions (quaternion, norm, etc.) require this flag on newer GLM versions
add_compile_definitions(GLM_ENABLE_EXPERIMENTAL)
# StormLib for MPQ extraction tool (not needed for main executable)
find_library(STORMLIB_LIBRARY NAMES StormLib stormlib storm)