diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-13 20:54:25 -0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-15 19:34:17 -0200 |
commit | ea63b1a8c39ab719423ff5918e178102c59ae7d9 (patch) | |
tree | dcf2a494b3fa748aeaac8c742a8104c2831dd07c /.travis-deps.sh | |
parent | 06f31e8b471d5b54fee80568db2583d41e81fdb0 (diff) |
Build GLFW as a shared lib on Travis
Diffstat (limited to '.travis-deps.sh')
-rw-r--r-- | .travis-deps.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis-deps.sh b/.travis-deps.sh index b8e8417b..2ac3a79c 100644 --- a/.travis-deps.sh +++ b/.travis-deps.sh @@ -11,7 +11,11 @@ if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then ( git clone https://github.com/glfw/glfw.git --branch 3.0.4 --depth 1 mkdir glfw/build && cd glfw/build - cmake .. && make -j2 && sudo make install + cmake -DBUILD_SHARED_LIBS=ON \ + -DGLFW_BUILD_EXAMPLES=OFF \ + -DGLFW_BUILD_TESTS=OFF \ + .. + make -j4 && sudo make install ) sudo apt-get install lib32stdc++6 |