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

lr.morales en jderobot.org lr.morales en jderobot.org
Jue Oct 17 02:50:23 CEST 2013


Author: lr.morales
Date: 2013-10-17 02:50:23 +0200 (Thu, 17 Oct 2013)
New Revision: 1059

Modified:
   trunk/src/stable/components/openni1Server/CMakeLists.txt
Log:
#16 Fixes openni1Server not calling thread-related libs in cmake



Modified: trunk/src/stable/components/openni1Server/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/openni1Server/CMakeLists.txt	2013-10-16 14:08:30 UTC (rev 1058)
+++ trunk/src/stable/components/openni1Server/CMakeLists.txt	2013-10-17 00:50:23 UTC (rev 1059)
@@ -3,7 +3,7 @@
 	    SET( SOURCE_FILES openni1Server.cpp myprogeo.cpp )
 	    add_definitions(-DGLADE_DIR="${gladedir}")
 
-	    set( CMAKE_CXX_FLAGS "-Wno-deprecated" ) # Opciones para el compilador-lgsl -lgslcblas -lGL -lGLU -lglut -lgazebo
+	    set( CMAKE_CXX_FLAGS "-Wno-deprecated" ) # Opciones para el compilador
 
 	    include_directories(
             ${INTERFACES_CPP_DIR}
@@ -16,15 +16,18 @@
 
 	    add_executable (openni1Server ${SOURCE_FILES})
 
+        FIND_PACKAGE(libusb-1.0 REQUIRED)
+        MESSAGE(STATUS ${usb_LIBRARIES})
         TARGET_LINK_LIBRARIES(openni1Server
             progeo
             colorspacesmm
             JderobotInterfaces
-	        ${ZeroCIce_LIBRARIES}
-	        ${openni_LIBRARIES}
-			${nite_LIBRARIES}
+            ${ZeroCIce_LIBRARIES}
+            ${openni_LIBRARIES}
+            ${nite_LIBRARIES}
             ${opencv_LIBRARIES}
             ${gsl_LIBRARIES}
+            ${CMAKE_THREAD_LIBS_INIT}
         )
     ENDIF()
 ENDIF()



More information about the Jderobot-admin mailing list