From f0d904a9ff1a863f0d78a67d1a588da26fbaf1fe Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 1 Dec 2014 13:16:04 +0100 Subject: [PATCH] Do not build GLFW examples and tests. --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 28a0603..bd63460 100755 --- a/build.sh +++ b/build.sh @@ -40,9 +40,9 @@ mkdir -p build cd build if hash ninja 2>/dev/null then - $cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=0 -GNinja .. + $cmake -DGLFW_BUILD_EXAMPLES=0 -DGLFW_BUILD_TESTS=0 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=0 -GNinja .. ninja else - $cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=0 .. + $cmake -DGLFW_BUILD_EXAMPLES=0 -DGLFW_BUILD_TESTS=0 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=0 .. make -j$threads fi