summaryrefslogtreecommitdiff
path: root/indra/cmake/GLM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/GLM.cmake')
-rw-r--r--indra/cmake/GLM.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake
index 84b155f6c5..e1f05f9835 100644
--- a/indra/cmake/GLM.cmake
+++ b/indra/cmake/GLM.cmake
@@ -3,5 +3,9 @@ include(Prebuilt)
add_library( ll::glm INTERFACE IMPORTED )
+if (USESYSTEMLIBS)
+ find_package( glm REQUIRED )
+else ()
use_system_binary( glm )
use_prebuilt_binary(glm)
+endif ()