diff options
Diffstat (limited to 'indra/cmake/GLM.cmake')
-rw-r--r-- | indra/cmake/GLM.cmake | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/indra/cmake/GLM.cmake b/indra/cmake/GLM.cmake index 451b7292cb..db6acc065e 100644 --- a/indra/cmake/GLM.cmake +++ b/indra/cmake/GLM.cmake @@ -3,12 +3,9 @@ include(Prebuilt) add_library( ll::glm INTERFACE IMPORTED ) -if (NOT USESYSTEMLIBS) -use_system_binary( glm ) -elseif (NOT LINUX) - find_package( glm REQUIRED ) -endif (NOT USESYSTEMLIBS) - -if (LINUX OR USESYSTEMLIBS) +#use_system_binary( glm ) +if (${LINUX_DISTRO} MATCHES debian OR (${LINUX_DISTRO} MATCHES ubuntu) OR (${LINUX_DISTRO} MATCHES opensuse-tumbleweed)) use_prebuilt_binary(glm) -endif (LINUX OR USESYSTEMLIBS) +elseif (NOT WINDOWS) + find_package( glm REQUIRED ) +endif () |