diff --git a/recipes/glm/recipe.py b/recipes/glm/recipe.py index b8e8bcf..61d3399 100644 --- a/recipes/glm/recipe.py +++ b/recipes/glm/recipe.py @@ -1,9 +1,11 @@ -import os from SCons.Script import * -def cook(env: Environment, git_ref: str = "master") -> dict: - repo = env.Cook('GitBranch', repo_name = 'glm', remote_url = 'https://github.com/g-truc/glm.git', git_ref = git_ref) +def cook(env: Environment, remote: str = 'github', git_ref: str = "master") -> dict: + if remote == 'mewin': + repo = env.Cook('GitBranch', repo_name = 'glm_mewin', remote_url = 'https://git.mewin.de/mewin/glm.git', git_ref = git_ref) + else: + repo = env.Cook('GitBranch', repo_name = 'glm', remote_url = 'https://github.com/g-truc/glm.git', git_ref = git_ref) checkout_root = repo['checkout_root'] return {