summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-06-14 13:58:07 +0800
committerErik Kundiman <erik@megapahit.org>2026-06-14 13:58:07 +0800
commit582462ba123f55cc67f006fe0ecbfbba81311f84 (patch)
tree52c00776a3da718b78079e80ad34a710439bbd94 /indra/cmake
parent893b93bbbcb2ffc4948f2ebca9dd86be55e79237 (diff)
Windows arm64 & macOS x86-64 use LL's packaged GLM
so we don't have to keep 1.0.1 on vcpkg or MacPorts around any more (the last version they compile with, in the code's current state).
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/GLM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake
index e4c6796f6c..957c220bc7 100644
--- a/indra/cmake/GLM.cmake
+++ b/indra/cmake/GLM.cmake
@@ -4,7 +4,7 @@ include(Prebuilt)
add_library( ll::glm INTERFACE IMPORTED )
#use_system_binary( glm )
-if (${LINUX_DISTRO} MATCHES debian)
+if (${LINUX_DISTRO} MATCHES debian OR CMAKE_OSX_ARCHITECTURES MATCHES x86_64 OR ($ENV{MSYSTEM_CARCH} MATCHES aarch64))
use_prebuilt_binary(glm)
elseif (NOT WINDOWS)
find_package( glm REQUIRED )