From d7a8fd214097faebbfd8efea200e4e7adf28d4c4 Mon Sep 17 00:00:00 2001 From: Roelof Oomen Date: Sun, 23 Jun 2024 13:24:02 +0200 Subject: [PATCH] Fixes for building on Ubuntu Noble --- tesseract_environment/CMakeLists.txt | 2 +- tesseract_urdf/CMakeLists.txt | 4 ++-- tesseract_visualization/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tesseract_environment/CMakeLists.txt b/tesseract_environment/CMakeLists.txt index dc01a4b4a99..1207d43d66a 100644 --- a/tesseract_environment/CMakeLists.txt +++ b/tesseract_environment/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15.0) # Extract package name and version find_package(ros_industrial_cmake_boilerplate REQUIRED) extract_package_metadata(pkg) -project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES CXX) +project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES C CXX) if(WIN32) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) diff --git a/tesseract_urdf/CMakeLists.txt b/tesseract_urdf/CMakeLists.txt index 815baf0d5e3..1a6f1c358f5 100644 --- a/tesseract_urdf/CMakeLists.txt +++ b/tesseract_urdf/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15.0) # Extract package name and version find_package(ros_industrial_cmake_boilerplate REQUIRED) extract_package_metadata(pkg) -project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES CXX) +project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES C CXX) if(WIN32) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) @@ -12,7 +12,7 @@ endif() find_package(Boost REQUIRED) find_package(Eigen3 REQUIRED) find_package(console_bridge REQUIRED) -find_package(PCL REQUIRED COMPONENTS common io) +find_package(PCL REQUIRED COMPONENTS io) find_package(tesseract_geometry REQUIRED) find_package(tesseract_common REQUIRED) find_package(tesseract_scene_graph REQUIRED) diff --git a/tesseract_visualization/CMakeLists.txt b/tesseract_visualization/CMakeLists.txt index db2db8c1224..64c72281187 100644 --- a/tesseract_visualization/CMakeLists.txt +++ b/tesseract_visualization/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15.0) # Extract package name and version find_package(ros_industrial_cmake_boilerplate REQUIRED) extract_package_metadata(pkg) -project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES CXX) +project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES C CXX) if(WIN32) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)