Files
DCCONSTRUCTIONS d0e5f90952 Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
2026-10-08 09:59:51 +03:00

11 lines
580 B
CMake

cmake_minimum_required(VERSION 3.16)
project(ndc_pcl_ground LANGUAGES C CXX)
find_package(PCL 1.12 REQUIRED COMPONENTS segmentation)
add_library(pcl_ground SHARED pcl_ground.cpp)
target_compile_features(pcl_ground PRIVATE cxx_std_17)
target_include_directories(pcl_ground SYSTEM PRIVATE ${PCL_INCLUDE_DIRS})
target_link_libraries(pcl_ground PRIVATE ${PCL_LIBRARIES})
target_compile_options(pcl_ground PRIVATE ${PCL_DEFINITIONS})
set_target_properties(pcl_ground PROPERTIES LIBRARY_OUTPUT_DIRECTORY /opt/missioncore)
file(WRITE /opt/missioncore/pcl-version.txt "${PCL_VERSION}\n")