summaryrefslogtreecommitdiff
path: root/indra/cmake/GLM.cmake
blob: 451b7292cb8b47311e86c8acb5feb415c981954a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- cmake -*-
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_prebuilt_binary(glm)
endif (LINUX OR USESYSTEMLIBS)