[Jderobot-admin] jderobot-r1184 - trunk/src/stable/components/openni1Server

rocapal en jderobot.org rocapal en jderobot.org
Lun Mar 10 14:00:44 CET 2014


Author: rocapal
Date: 2014-03-10 14:00:44 +0100 (Mon, 10 Mar 2014)
New Revision: 1184

Modified:
   trunk/src/stable/components/openni1Server/CMakeLists.txt
Log:
#178 check if libusb is installed


Modified: trunk/src/stable/components/openni1Server/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/openni1Server/CMakeLists.txt	2014-03-10 09:10:13 UTC (rev 1183)
+++ trunk/src/stable/components/openni1Server/CMakeLists.txt	2014-03-10 13:00:44 UTC (rev 1184)
@@ -1,4 +1,4 @@
-IF(openni_LIBRARIES)
+IF(openni_LIBRARIES AND LIBUSB_INCLUDE_DIRS)
 
 	    SET( SOURCE_FILES openni1Server.cpp myprogeo.cpp )
 	    add_definitions(-DGLADE_DIR="${gladedir}")



More information about the Jderobot-admin mailing list