summaryrefslogtreecommitdiff
path: root/indra/cmake/GLM.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-19 20:36:17 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-19 22:35:01 +0800
commitb7afbe59c42a3e6e92f712153172364f4ebaa5e2 (patch)
treeb10784783099c002ed1cc8fd694915ade40b6e67 /indra/cmake/GLM.cmake
parent495f103000137b3288eaa05a4298fd33ceb3c2dc (diff)
parent135fcd19541f414c3278b25b02b7bd34fbc3065f (diff)
Merge branch 'webrtc-voice' into 2024.06-atlasaurus
Diffstat (limited to 'indra/cmake/GLM.cmake')
-rw-r--r--indra/cmake/GLM.cmake14
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake
index 9cf410d9c3..451b7292cb 100644
--- a/indra/cmake/GLM.cmake
+++ b/indra/cmake/GLM.cmake
@@ -3,12 +3,12 @@ include(Prebuilt)
add_library( ll::glm INTERFACE IMPORTED )
-if (USESYSTEMLIBS)
- if (NOT LINUX)
- find_package( glm REQUIRED )
- endif ()
- return ()
-else ()
+if (NOT USESYSTEMLIBS)
use_system_binary( glm )
+elseif (NOT LINUX)
+ find_package( glm REQUIRED )
+endif (NOT USESYSTEMLIBS)
+
+if (LINUX OR USESYSTEMLIBS)
use_prebuilt_binary(glm)
-endif ()
+endif (LINUX OR USESYSTEMLIBS)