include_directories(SYSTEM foo) equivalent through catkin_package INCLUDE_DIRS?

asked 2015-07-29 13:25:06 -0500

lucasw gravatar image

updated 2020-11-21 11:23:42 -0500

Is there a way to get includes specified within catkin_package INCLUDE_DIRS to be included as if they were used with include_directories(SYSTEM... ? The main thing I want to do is suppress warnings from third party header files, but it would require a lot of effort to have every dependent project have to find and include those separate from the dependency on the original package.

edit retag flag offensive close merge delete


It's disappointing that this unanswered question is the top google link for "catkin_package INCLUDE_DIRS SYSTEM"

pete_b gravatar image pete_b  ( 2020-04-28 20:04:52 -0500 )edit