if(OPENNI_FOUND)
  PCL_ADD_EXECUTABLE(openni_grabber_example ${SUBSYS_NAME} openni_grabber_example.cpp)
  target_link_libraries(openni_grabber_example pcl_common pcl_io)
  PCL_ADD_EXECUTABLE(convert_pcd_ascii_binary ${SUBSYS_NAME} convert_pcd_ascii_binary.cpp)
  target_link_libraries(convert_pcd_ascii_binary pcl_common pcl_io)
  PCL_ADD_EXECUTABLE(openni_grab_frame ${SUBSYS_NAME} openni_grab_frame.cpp)
  target_link_libraries(openni_grab_frame pcl_common pcl_io)
endif(OPENNI_FOUND)

PCL_ADD_EXECUTABLE(pcd_convert_NaN_nan ${SUBSYS_NAME} pcd_convert_NaN_nan.cpp)

if(OPENNI_FOUND)
  PCL_ADD_EXECUTABLE(openni_grabber_example ${SUBSYS_NAME} openni_grabber_example.cpp)
  target_link_libraries(openni_grabber_example pcl_common pcl_io)
  PCL_ADD_EXECUTABLE(openni_grab_frame ${SUBSYS_NAME} openni_grab_frame.cpp)
  target_link_libraries(openni_grab_frame pcl_common pcl_io)
endif(OPENNI_FOUND)

PCL_ADD_EXECUTABLE(pcd_convert_NaN_nan ${SUBSYS_NAME} pcd_convert_NaN_nan.cpp)
PCL_ADD_EXECUTABLE(convert_pcd_ascii_binary ${SUBSYS_NAME} convert_pcd_ascii_binary.cpp)
target_link_libraries(convert_pcd_ascii_binary pcl_common pcl_io)

Enable convert_pcd_ascii_binary even when OpenNI is missing
Enable convert_pcd_ascii_binary even when OpenNI is missing


git-svn-id: e7ea667a1d39a4453c4efcc4ba7bca3d620c3f19@1450 a9d63959-f2ad-4865-b262-bf0e56cfafb6
