Add dependencies as submodules
This commit is contained in:
parent
0b5a4002db
commit
f31f4e9855
3 changed files with 11 additions and 1 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "vendor/glm"]
|
||||||
|
path = vendor/glm
|
||||||
|
url = https://github.com/g-truc/glm.git
|
8
configure
vendored
8
configure
vendored
|
@ -1,3 +1,9 @@
|
||||||
#!/bin/sh
|
#!/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
1
vendor/glm
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0af2e05b1b456ef92c8424d5f85b36b973adf610
|
Reference in a new issue