diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-07-31 19:29:02 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-07-31 19:29:02 +0800 |
| commit | 7e47eff5042c2fb897c8eee1219889a84ca3bf36 (patch) | |
| tree | 2527d29a965dd54463f4d82834c86906996db22d /indra/cmake/GLM.cmake | |
| parent | f94ad55c430f1b898e74871233703b12e48b8fce (diff) | |
Compare LINUX_DISTRO with freedesktop on Flatpak
so no need for USE_FLATPAK, and just maybe there are some other
platforms that use this runtime as the distro info.
Diffstat (limited to 'indra/cmake/GLM.cmake')
| -rw-r--r-- | indra/cmake/GLM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake index d804774ff6..c7d0ec3aed 100644 --- a/indra/cmake/GLM.cmake +++ b/indra/cmake/GLM.cmake @@ -4,7 +4,7 @@ include(Prebuilt) add_library( ll::glm INTERFACE IMPORTED ) #use_system_binary( glm ) -if (USE_FLATPAK OR (${LINUX_DISTRO} MATCHES debian) OR CMAKE_OSX_ARCHITECTURES MATCHES x86_64 OR ($ENV{MSYSTEM_CARCH} MATCHES aarch64)) +if (${LINUX_DISTRO} MATCHES freedesktop OR (${LINUX_DISTRO} MATCHES debian) OR CMAKE_OSX_ARCHITECTURES MATCHES x86_64 OR ($ENV{MSYSTEM_CARCH} MATCHES aarch64)) use_prebuilt_binary(glm) elseif (NOT WINDOWS) find_package( glm REQUIRED ) |
