[Jderobot-admin] jderobot-r1028 - trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect
bmenendez en jderobot.org
bmenendez en jderobot.org
Jue Oct 10 10:01:08 CEST 2013
Author: bmenendez
Date: 2013-10-10 10:00:07 +0200 (Thu, 10 Oct 2013)
New Revision: 1028
Modified:
trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt
Log:
#63 Problem with pcl libraries solved. Now, if you don't have pcl the plugin
doesn't install.
Modified: trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt 2013-10-09 15:11:57 UTC (rev 1027)
+++ trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt 2013-10-10 08:00:07 UTC (rev 1028)
@@ -1,3 +1,5 @@
+if (pcl_LIBRARIES)
+
include_directories(
${GAZEBO_INCLUDE_DIRS}
${INTERFACES_CPP_DIR}
@@ -11,15 +13,17 @@
${GAZEBO_LIBRARY_DIRS}
)
-set( CMAKE_CXX_FLAGS "-Wall -lpcl_filters" ) # Opciones para el compilador
+set( CMAKE_CXX_FLAGS "-Wall" ) # Opciones para el compilador
add_library(kinectPlugin SHARED kinectPlugin.cc)
target_link_libraries(kinectPlugin
JderobotInterfaces
jderobotutil
- ${GAZEBO_libraries}
- ${PCL_LIBRARIES}
+ ${GAZEBO_libraries}
+ ${pcl_LIBRARIES}
${OpenCV_LIBRARIES}
${ZeroCIce_LIBRARIES}
)
+
+endif()
More information about the Jderobot-admin
mailing list