[packages/libfreenect] - cleanup, let openni2/python2/python3 bconds work
qboosh
qboosh at pld-linux.org
Sun Mar 15 18:59:17 CET 2020
commit 4e5986e7862080ed1490e33195addb41953b77f6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 15 19:00:19 2020 +0100
- cleanup, let openni2/python2/python3 bconds work
libfreenect.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libfreenect.spec b/libfreenect.spec
index ed265c8..79355ed 100644
--- a/libfreenect.spec
+++ b/libfreenect.spec
@@ -158,10 +158,9 @@ cd build
%cmake .. \
%{?with_opencv:-DBUILD_CV=ON} \
-DBUILD_EXAMPLES=OFF \
- -DBUILD_PYTHON2=ON \
- -DBUILD_PYTHON3=ON \
- -DBUILD_OPENNI2_DRIVER=ON \
- -DPROJECT_LIBRARY_INSTALL_DIR=%{_lib}
+ %{?with_python2:-DBUILD_PYTHON2=ON} \
+ %{?with_python3:-DBUILD_PYTHON3=ON} \
+ %{?with_openni2:-DBUILD_OPENNI2_DRIVER=ON}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libfreenect.git/commitdiff/4e5986e7862080ed1490e33195addb41953b77f6
More information about the pld-cvs-commit
mailing list