From 7eafd00a73e1699f0286eb5dbbd80aa1cea5456a Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Fri, 25 May 2012 01:35:06 +0000 Subject: [PATCH] spaceball demo is only meaningful on unix, don't build on other platforms git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1323 7f0cb862-5218-0410-a997-914c9d46530a --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dee50b1..c7d9c14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -397,9 +397,11 @@ ADD_DEMO(Resizer progs/demos/Resizer/Resizer.cpp) ADD_DEMO(multi-touch progs/demos/multi-touch/multi-touch.c) ADD_DEMO(shapes progs/demos/shapes/shapes.c) ADD_DEMO(smooth_opengl3 progs/demos/smooth_opengl3/smooth_opengl3.c) -ADD_DEMO(spaceball progs/demos/spaceball/spaceball.c - progs/demos/spaceball/vmath.c - progs/demos/spaceball/vmath.h) +IF(UNIX) + ADD_DEMO(spaceball progs/demos/spaceball/spaceball.c + progs/demos/spaceball/vmath.c + progs/demos/spaceball/vmath.h) +ENDIF() ADD_DEMO(subwin progs/demos/subwin/subwin.c) ADD_DEMO(timer progs/demos/timer/timer.c) -- 1.7.10.4