diff --git a/debian/control b/debian/control index 35ac9b323e052c61fa2fb9e6e4c91c7c0bb5c7c6..c57801abaddc3427a7c2b84a58400c08f53343dc 100644 --- a/debian/control +++ b/debian/control @@ -55,7 +55,7 @@ Depends: libopencv-dev [!any-sparc64 !x32], libx11-dev, libv4l-dev [!hurd-any], libusb-dev, - libfreenect-dev, + libfreenect-dev [!hurd-any], libois-dev [linux-any], libvisp2.8 (= ${binary:Version}), ${misc:Depends} diff --git a/debian/rules b/debian/rules index 6eb1193f111446217f2939b7a068d514e1107d44..039c2ca818076c7ac940c7282812059edda033f6 100755 --- a/debian/rules +++ b/debian/rules @@ -38,7 +38,7 @@ CONFIGURE_ARGS= \ -DUSE_COIN=ON -DUSE_GSL=OFF \ -DUSE_LAPACK=ON -DUSE_OGRE=ON \ -DUSE_XML2=ON -DUSE_GTK2=ON -DUSE_LIBJPEG=ON \ - -DUSE_LIBPNG=ON -DUSE_X11=ON -DUSE_LIBFREENECT=ON + -DUSE_LIBPNG=ON -DUSE_X11=ON # dc1394, v4l and ois are only available on Linux. ifneq ($(DEB_HOST_ARCH_OS),linux) @@ -51,9 +51,9 @@ endif # freenect is not available on hurd. ifeq ($(DEB_HOST_ARCH_OS),hurd) - CONFIGURE_ARGS += -DUSE_LIBFEENECT=OFF + CONFIGURE_ARGS += -DUSE_LIBFREENECT=OFF else - CONFIGURE_ARGS += -DUSE_LIBFEENECT=ON + CONFIGURE_ARGS += -DUSE_LIBFREENECT=ON endif