include_directories(SYSTEM foo) equivalent through catkin_package INCLUDE_DIRS?

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

lucasw gravatar image

updated 2015-07-29 13:26:08 -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