Skip to content

Commit

Permalink
Treat external dependencies as system ones
Browse files Browse the repository at this point in the history
  • Loading branch information
garyservin committed Jan 21, 2025
1 parent 98cf1f3 commit a1abc86
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions fuse_publishers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ add_dependencies(${PROJECT_NAME}
target_include_directories(${PROJECT_NAME}
PUBLIC
include
)

target_include_directories(${PROJECT_NAME}
SYSTEM PRIVATE
${catkin_INCLUDE_DIRS}
)
target_link_libraries(${PROJECT_NAME}
Expand Down Expand Up @@ -120,6 +124,9 @@ if(CATKIN_ENABLE_TESTING)
target_include_directories(test_path_2d_publisher
PRIVATE
include
)
target_include_directories(test_path_2d_publisher
SYSTEM PRIVATE
${catkin_INCLUDE_DIRS}
)
target_link_libraries(test_path_2d_publisher
Expand All @@ -143,6 +150,9 @@ if(CATKIN_ENABLE_TESTING)
target_include_directories(test_pose_2d_publisher
PRIVATE
include
)
target_include_directories(test_pose_2d_publisher
SYSTEM PRIVATE
${catkin_INCLUDE_DIRS}
)
target_link_libraries(test_pose_2d_publisher
Expand All @@ -165,6 +175,9 @@ if(CATKIN_ENABLE_TESTING)
target_include_directories(test_stamped_variable_synchronizer
PRIVATE
include
)
target_include_directories(test_stamped_variable_synchronizer
SYSTEM PRIVATE
${catkin_INCLUDE_DIRS}
)
target_link_libraries(test_stamped_variable_synchronizer
Expand Down

0 comments on commit a1abc86

Please sign in to comment.