Skip to content

Commit

Permalink
Fix "stdlib.h: No such file or directory" errors in GCC-6
Browse files Browse the repository at this point in the history
Including '-isystem /usr/include' breaks building with GCC-6.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
  • Loading branch information
Peter-Levine authored Sep 20, 2016
1 parent 1b34a3c commit ead421b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_geometry/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ catkin_package(CATKIN_DEPENDS sensor_msgs

catkin_python_setup()

include_directories(SYSTEM ${catkin_INCLUDE_DIRS}
include_directories(${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
include_directories(include)
Expand Down

0 comments on commit ead421b

Please sign in to comment.