5e1f99209a
- Disable tests as they are enabled by default since version 0.9.9.1:d307d39019
- Static and shared libraries are always built since version 0.9.9.1:a23dd2f800
So, disable them as GLM is header-only (it should be noted that upstream wants to keep those libraries as the commit to disable them has been reverted:ca8372490e
- Add hash for license file (now in manual.md#section0) Fixes: - http://autobuild.buildroot.org/results/3cf1fd3387bd4952470edcfcb93d44f58c9e7ff7 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
617 B
Makefile
24 lines
617 B
Makefile
################################################################################
|
|
#
|
|
# glm
|
|
#
|
|
################################################################################
|
|
|
|
GLM_VERSION = 0.9.9.4
|
|
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))
|