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.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake
new file mode 100644
index 0000000000..9cf410d9c3
--- /dev/null
+++ b/indra/cmake/GLM.cmake
@@ -0,0 +1,14 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+add_library( ll::glm INTERFACE IMPORTED )
+
+if (USESYSTEMLIBS)
+ if (NOT LINUX)
+ find_package( glm REQUIRED )
+ endif ()
+ return ()
+else ()
+use_system_binary( glm )
+use_prebuilt_binary(glm)
+endif ()