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}