mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-25 16:42:39 -06:00
Build GLFW as a shared lib on Travis
This commit is contained in:
parent
06f31e8b47
commit
ea63b1a8c3
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue