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