beaglebone: treat robotcontrol as system include

This should ignore compiler warnings from the includes.
This commit is contained in:
Julian Oes 2020-01-13 11:57:39 +01:00 committed by Nuno Marques
parent 065fa1244d
commit 3818b18314
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ ExternalProject_Get_Property(librobotcontrol install_dir)
set(ROBOTCONTROL_LIB_DIR ${install_dir}/src/librobotcontrol-build/library)
set(ROBOTCONTROL_INC_DIR ${install_dir}/src/librobotcontrol/library/include)
include_directories(${ROBOTCONTROL_INC_DIR})
include_directories(SYSTEM ${ROBOTCONTROL_INC_DIR})
link_directories(${ROBOTCONTROL_LIB_DIR})
# add to prebuild