diff --git a/src/rviz/CMakeLists.txt b/src/rviz/CMakeLists.txt index df726b5e54..7b2ad873a9 100644 --- a/src/rviz/CMakeLists.txt +++ b/src/rviz/CMakeLists.txt @@ -1,5 +1,7 @@ find_package(yaml-cpp REQUIRED) +include_directories(SYSTEM ${YAML_CPP_INCLUDE_DIR}) + if(UNIX AND NOT APPLE) find_package(X11 REQUIRED) endif()