Skip to content

Commit

Permalink
Vendor GLM
Browse files Browse the repository at this point in the history
  • Loading branch information
korfuri committed Apr 28, 2019
1 parent 758d5cd commit 969991d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "projectM"]
path = src/deps/projectm
url = https://github.com/projectM-visualizer/projectm.git
[submodule "src/deps/glm"]
path = src/deps/glm
url = https://github.com/g-truc/glm
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ addons:
packages:
- autoconf
- libtool
- libglm-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
homebrew:
packages:
- glm
- sdl2
- automake
- libtool
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ dep: $(LIBPROJECTM)
src/deps/projectm/src/libprojectM/.libs/libprojectM.a:
(cd src/deps/projectm; git apply ../projectm_*.diff || true)
(cd src/deps/projectm; ./autogen.sh)
(cd src/deps/projectm; ./configure --with-pic --enable-static --disable-threading)
(cd src/deps/projectm; make)
(cd src/deps/projectm; export CFLAGS=-I$(shell pwd)/src/deps/glm CXXFLAGS=-I$(shell pwd)/src/deps/glm ; ./configure --with-pic --enable-static --disable-threading)
(cd src/deps/projectm; export CFLAGS=-I$(shell pwd)/src/deps/glm CXXFLAGS=-I$(shell pwd)/src/deps/glm ; make)

depclean:
(cd src/deps/projectm; make clean)
Expand Down
1 change: 1 addition & 0 deletions src/deps/glm
Submodule glm added at d162ee

0 comments on commit 969991d

Please sign in to comment.