summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-07-29 15:29:20 +0800
committerErik Kundiman <erik@megapahit.org>2024-07-29 15:29:20 +0800
commit29526f5307c0035c6b2b9e07266808b91796dc2b (patch)
tree01231f3c642da1bc86034d923cdfa96dce4224ac /indra
parente7c1f75732c1e41dc1c4dc0933bb98f2fef01578 (diff)
GLM on GNU/Linux distros aren't updated enough
The viewer codebase requires GLM 1.0.x, not 0.9.x.
Diffstat (limited to 'indra')
-rw-r--r--indra/cmake/GLM.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake
index e1f05f9835..9cf410d9c3 100644
--- a/indra/cmake/GLM.cmake
+++ b/indra/cmake/GLM.cmake
@@ -4,7 +4,10 @@ include(Prebuilt)
add_library( ll::glm INTERFACE IMPORTED )
if (USESYSTEMLIBS)
- find_package( glm REQUIRED )
+ if (NOT LINUX)
+ find_package( glm REQUIRED )
+ endif ()
+ return ()
else ()
use_system_binary( glm )
use_prebuilt_binary(glm)