xref: /OK3568_Linux_fs/buildroot/package/glm/glm.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# glm
4#
5################################################################################
6
7GLM_VERSION = 0.9.9.5
8GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
9GLM_LICENSE = MIT
10GLM_LICENSE_FILES = manual.md
11
12# GLM is a header-only library, it only makes sense
13# to have it installed into the staging directory.
14GLM_INSTALL_STAGING = YES
15GLM_INSTALL_TARGET = NO
16
17# Don't build libraries as GLM is header-only
18GLM_CONF_OPTS = \
19	-DGLM_TEST_ENABLE=OFF \
20	-DBUILD_SHARED_LIBS=OFF \
21	-DBUILD_STATIC_LIBS=OFF
22
23$(eval $(cmake-package))
24