glm.mk 590 B

12345678910111213141516171819202122
  1. ################################################################################
  2. #
  3. # glm
  4. #
  5. ################################################################################
  6. GLM_VERSION = 1.0.0
  7. GLM_SITE = $(call github,g-truc,glm,$(GLM_VERSION))
  8. GLM_LICENSE = MIT
  9. GLM_LICENSE_FILES = copying.txt
  10. # GLM is a header-only library, it only makes sense
  11. # to have it installed into the staging directory.
  12. GLM_INSTALL_STAGING = YES
  13. GLM_INSTALL_TARGET = NO
  14. # Don't build libraries as GLM is header-only
  15. GLM_CONF_OPTS = \
  16. -DGLM_TEST_ENABLE=OFF \
  17. -DGLM_BUILD_LIBRARY=OFF
  18. $(eval $(cmake-package))