From a741687b3f82c8589f8dfc06e170e6445fca1c6f Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 18 Feb 2026 17:49:52 -0800 Subject: [PATCH] Define GLM_ENABLE_EXPERIMENTAL globally for GTX extension compatibility --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bc26920..aead6806 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)