From e49cbd5691fab737c8f6bdf391d6a8c6b6881a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Thu, 16 Nov 2023 12:13:08 +0300 Subject: [PATCH] build: mark PCL and YAML_CPP as SYSTEM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- nebula_common/CMakeLists.txt | 1 + nebula_decoders/CMakeLists.txt | 1 + nebula_examples/CMakeLists.txt | 1 + nebula_hw_interfaces/CMakeLists.txt | 1 + nebula_ros/CMakeLists.txt | 1 + 5 files changed, 5 insertions(+) diff --git a/nebula_common/CMakeLists.txt b/nebula_common/CMakeLists.txt index f98063044..a8bc0aa32 100644 --- a/nebula_common/CMakeLists.txt +++ b/nebula_common/CMakeLists.txt @@ -29,6 +29,7 @@ endif() include_directories( include + SYSTEM ${YAML_CPP_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS} diff --git a/nebula_decoders/CMakeLists.txt b/nebula_decoders/CMakeLists.txt index 463a589c7..0a22b5f6c 100644 --- a/nebula_decoders/CMakeLists.txt +++ b/nebula_decoders/CMakeLists.txt @@ -21,6 +21,7 @@ find_package(nebula_common REQUIRED) include_directories( include + SYSTEM ${YAML_CPP_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS} diff --git a/nebula_examples/CMakeLists.txt b/nebula_examples/CMakeLists.txt index 5072a5f76..84307e83e 100644 --- a/nebula_examples/CMakeLists.txt +++ b/nebula_examples/CMakeLists.txt @@ -23,6 +23,7 @@ ament_auto_find_build_dependencies() include_directories( include + SYSTEM ${YAML_CPP_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS} diff --git a/nebula_hw_interfaces/CMakeLists.txt b/nebula_hw_interfaces/CMakeLists.txt index c1e34ab62..09accf3c1 100644 --- a/nebula_hw_interfaces/CMakeLists.txt +++ b/nebula_hw_interfaces/CMakeLists.txt @@ -19,6 +19,7 @@ endif () include_directories( include + SYSTEM ${YAML_CPP_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS} diff --git a/nebula_ros/CMakeLists.txt b/nebula_ros/CMakeLists.txt index 6848b9dec..61c487595 100644 --- a/nebula_ros/CMakeLists.txt +++ b/nebula_ros/CMakeLists.txt @@ -25,6 +25,7 @@ find_package(yaml-cpp REQUIRED) include_directories( include + SYSTEM ${YAML_CPP_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${PCL_COMMON_INCLUDE_DIRS}