From 5f96c90dd08a7f8ad311b6c7a66337d513a8d809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Couble?= Date: Thu, 27 Mar 2025 17:41:11 +0100 Subject: [PATCH] [refact] Remove PCLPlugin & ROS2 plugin search cmake variable Not required anymore since superbuild will automatically change the standard paraview xml file --- CMake/CommonLidarViewOptions.cmake | 3 --- CMake/FindLidarViewDependencies.cmake | 16 ---------------- 2 files changed, 19 deletions(-) diff --git a/CMake/CommonLidarViewOptions.cmake b/CMake/CommonLidarViewOptions.cmake index 05dae0637..25ea927b0 100644 --- a/CMake/CommonLidarViewOptions.cmake +++ b/CMake/CommonLidarViewOptions.cmake @@ -43,9 +43,6 @@ lidarview_obsolete_setting(LIDARVIEW_BUILD_SLAM) # LidarView no longer build the lidarview_deprecated_setting(slam_default LIDARVIEW_USE_LIDARSLAM_PLUGIN PARAVIEW_PLUGIN_ENABLE_LidarSlam "OFF") option(LIDARVIEW_USE_LIDARSLAM_PLUGIN "Search for LidarSlam plugin." "${slam_default}") -option(LIDARVIEW_USE_ROS2IO_PLUGIN "Search for Ros2IO plugin." OFF) -option(LIDARVIEW_USE_PCLPLUGIN_PLUGIN "Search for PCL plugin wrapping." OFF) - if (WIN32) option(LIDARVIEW_USE_NPCAP "Use npcap instead of winpcap." OFF) endif () diff --git a/CMake/FindLidarViewDependencies.cmake b/CMake/FindLidarViewDependencies.cmake index 0bdf1fd29..7693f4500 100644 --- a/CMake/FindLidarViewDependencies.cmake +++ b/CMake/FindLidarViewDependencies.cmake @@ -113,19 +113,3 @@ if (LIDARVIEW_USE_LIDARSLAM_PLUGIN) print_version(LidarSlam) check_depedency_target("LidarSlam::paraview_wrapping" LidarSlam::paraview_wrapping) endif () - -#-------------------------------------- -# Ros2IO plugin dependency - optional -#-------------------------------------- -if (LIDARVIEW_USE_ROS2IO_PLUGIN) - find_package(Ros2IO REQUIRED QUIET) - check_depedency_target("Ros2IO::paraview_plugin" Ros2IO::paraview_plugin) -endif () - -#-------------------------------------- -# PCLPlugin plugin dependency - optional -#-------------------------------------- -if (LIDARVIEW_USE_PCLPLUGIN_PLUGIN) - find_package(PCLPlugin REQUIRED QUIET) - check_depedency_target("PCLPlugin::paraview_plugin" PCLPlugin::paraview_plugin) -endif () -- GitLab