2014-08-15 19:19:38 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# glm
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-03-27 18:11:03 +01:00
|
|
|
GLM_VERSION = 0.9.9.4
|
2014-08-15 19:19:38 +02:00
|
|
|
GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
|
|
|
|
GLM_LICENSE = MIT
|
2019-03-27 18:11:03 +01:00
|
|
|
GLM_LICENSE_FILES = manual.md
|
2014-08-15 19:19:38 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2019-03-27 18:11:03 +01:00
|
|
|
# Don't build libraries as GLM is header-only
|
|
|
|
GLM_CONF_OPTS = \
|
|
|
|
-DGLM_TEST_ENABLE=OFF \
|
|
|
|
-DBUILD_SHARED_LIBS=OFF \
|
|
|
|
-DBUILD_STATIC_LIBS=OFF
|
|
|
|
|
2014-08-15 19:19:38 +02:00
|
|
|
$(eval $(cmake-package))
|