[Jderobot-admin] jderobot-r1047 - trunk/Deps/pcl

ahcorde en jderobot.org ahcorde en jderobot.org
Lun Oct 14 17:36:50 CEST 2013


Author: ahcorde
Date: 2013-10-14 17:36:50 +0200 (Mon, 14 Oct 2013)
New Revision: 1047

Modified:
   trunk/Deps/pcl/CMakeLists.txt
Log:
PCL bug


Modified: trunk/Deps/pcl/CMakeLists.txt
===================================================================
--- trunk/Deps/pcl/CMakeLists.txt	2013-10-14 12:17:10 UTC (rev 1046)
+++ trunk/Deps/pcl/CMakeLists.txt	2013-10-14 15:36:50 UTC (rev 1047)
@@ -6,6 +6,7 @@
     NAMES pcl_surface pcl_registration pcl_segmentation pcl_filters pcl_sample_consensus pcl_io pcl_octree pcl_features pcl_kdtree pcl_common
     PATHS /usr/lib)
 
+MESSAGE(" with_pcl PCL LIBRARY FOUND IN ${with_pcl}")
 
 IF( pcl_INCLUDE_DIR )
 	include_directories (${pcl_INCLUDE_DIR})
@@ -18,40 +19,14 @@
     FIND_LIBRARY( pcl_LIBRARY7 NAMES pcl_octree PATHS ENV C++LIB ENV PATH PATH_SUFFIXES lib lib64)
     FIND_LIBRARY( pcl_LIBRARY8 NAMES pcl_features PATHS ENV C++LIB ENV PATH PATH_SUFFIXES lib lib64)
     FIND_LIBRARY( pcl_LIBRARY9 NAMES pcl_kdtree PATHS ENV C++LIB ENV PATH PATH_SUFFIXES lib lib64)
-    FIND_LIBRARY( pcl_LIBRARY11 NAMES pcl_common PATHS ENV C++LIB ENV PATH PATH_SUFFIXES lib lib64)
-	IF (pcl_LIBRARY1)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY1})
-	ENDIF()
-	IF (pcl_LIBRARY2)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY2})
-	ENDIF()
-	IF (pcl_LIBRARY3)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY3})
-	ENDIF()
-	IF (pcl_LIBRARY4)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY4})
-	ENDIF()
-	IF (pcl_LIBRARY5)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY5})
-	ENDIF()
-	IF (pcl_LIBRARY6)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY6})
-	ENDIF()
-	IF (pcl_LIBRARY7)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY7})
-	ENDIF()
-	IF (pcl_LIBRARY8)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY8})
-	ENDIF()
-	IF (pcl_LIBRARY9)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY9})
-	ENDIF()
-	IF (pcl_LIBRARY10)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY10})
-	ENDIF()
-	IF (pcl_LIBRARY11)
-		SET (pcl_LIBRARIES ${pcl_LIBRARY11})
-	ENDIF()
+    FIND_LIBRARY( pcl_LIBRARY10 NAMES pcl_common PATHS ENV C++LIB ENV PATH PATH_SUFFIXES lib lib64)
+
+MESSAGE(" pcl_LIBRARY11 PCL LIBRARY FOUND IN ${pcl_LIBRARY11S}")
+
+    SET (pcl_LIBRARIES ${pcl_LIBRARY1} ${pcl_LIBRARY2} ${pcl_LIBRARY3} ${pcl_LIBRARY4} ${pcl_LIBRARY5} ${pcl_LIBRARY6} ${pcl_LIBRARY7} 
+                       ${pcl_LIBRARY8} ${pcl_LIBRARY9} ${pcl_LIBRARY10})
+
+
     IF( pcl_LIBRARIES )
 		MESSAGE("PCL LIBRARY FOUND IN ${pcl_LIBRARIES}")
     ENDIF( pcl_LIBRARIES )



More information about the Jderobot-admin mailing list