1
0
Fork 0

Add dependencies as submodules

This commit is contained in:
Meoweg 2015-11-13 02:57:23 +00:00
parent 0b5a4002db
commit f31f4e9855
3 changed files with 11 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "vendor/glm"]
path = vendor/glm
url = https://github.com/g-truc/glm.git

8
configure vendored
View File

@ -1,3 +1,9 @@
#!/bin/sh
cmake -DCMAKE_TOOLCHAIN_FILE="$EMSCRIPTEN/cmake/Modules/Platform/Emscripten.cmake"
VENDOR="vendor"
GLM="$VENDOR/glm"
cmake \
-DCMAKE_TOOLCHAIN_FILE="$EMSCRIPTEN/cmake/Modules/Platform/Emscripten.cmake" \
-DGLM_INCLUDE_DIR="$GLM"

1
vendor/glm vendored Submodule

@ -0,0 +1 @@
Subproject commit 0af2e05b1b456ef92c8424d5f85b36b973adf610