Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active May 3, 2022 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Morfly/21aff8135b34587a3b7a165204e56184 to your computer and use it in GitHub Desktop.
Save Morfly/21aff8135b34587a3b7a165204e56184 to your computer and use it in GitHub Desktop.
# WORKSPACE
...
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
GLM_VERSION = "0.9.9.8"
http_archive(
name = "glm",
build_file = "@//third_party/glm:glm.BUILD",
sha256 = "4605259c22feadf35388c027f07b345ad3aa3b12631a5a316347f7566c6f1839",
strip_prefix = "glm-{}".format(GLM_VERSION),
urls = ["https://github.com/g-truc/glm/archive/{}.zip".format(GLM_VERSION)],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment