[Jderobot-admin] jderobot-r1076 - trunk/src/stable/components/openniServer

rocapal en jderobot.org rocapal en jderobot.org
Jue Oct 24 20:03:37 CEST 2013


Author: rocapal
Date: 2013-10-24 20:03:37 +0200 (Thu, 24 Oct 2013)
New Revision: 1076

Modified:
   trunk/src/stable/components/openniServer/CMakeLists.txt
Log:
changed includes about nite2


Modified: trunk/src/stable/components/openniServer/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/openniServer/CMakeLists.txt	2013-10-23 13:55:53 UTC (rev 1075)
+++ trunk/src/stable/components/openniServer/CMakeLists.txt	2013-10-24 18:03:37 UTC (rev 1076)
@@ -17,6 +17,8 @@
         ${LIBS_DIR}/
         ${CMAKE_CURRENT_SOURCE_DIR}
         ${CMAKE_CURRENT_SOURCE_DIR}/cameras
+	${NITE2_INC}
+		
     )
 
     add_executable (openniServer ${SOURCE_FILES})
@@ -31,6 +33,9 @@
 
 
 	if  ( NITE2_LIB )
+		set_property ( SOURCE openniServer.cpp
+			PROPERTY COMPILE_DEFINITIONS WITH_NITE2=1
+		)
 		#copy nite libs to local path
 		if (NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/NiTE2)
 			message ("--CMake will install local NiTE2 lib and Driver")



More information about the Jderobot-admin mailing list