diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-28 08:26:38 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-28 08:26:38 +0800 |
commit | 630a1197d219e57098236913bbd464d6b03f2a6d (patch) | |
tree | eceaf7e241c09550bc2f1a6b1d6e728aff6c6355 | |
parent | 96a81b5ecbe3bffb582ded930752c0523df5e80a (diff) |
Make system GLM found
I had to use find_package here directly because somehow our
"different" use_system_binary wouldn't set glm_FOUND to true, even
though CMake found the package.
-rw-r--r-- | indra/cmake/GLM.cmake | 4 |
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 () |