Build GLFW as a shared lib on Travis
This commit is contained in:
parent
06f31e8b47
commit
ea63b1a8c3
@ -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
|
git clone https://github.com/glfw/glfw.git --branch 3.0.4 --depth 1
|
||||||
mkdir glfw/build && cd glfw/build
|
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
|
sudo apt-get install lib32stdc++6
|
||||||
|
Loading…
Reference in New Issue
Block a user