Skip to content
Snippets Groups Projects
Commit d1d1322c authored by Christoph Pohl's avatar Christoph Pohl
Browse files

Fix array-bounds error

parent 6e49d280
No related branches found
No related tags found
1 merge request!419Ubuntu 24 Upgrade
......@@ -74,6 +74,7 @@ set(LIB_FILES
)
armarx_add_library("${LIB_NAME}" "${LIB_FILES}" "${LIB_HEADERS}" "${LIBS}")
target_compile_options("${LIB_NAME}" PRIVATE -Wno-error=array-bounds)
add_subdirectory(ObstacleAvoidingPlatformUnit)
add_subdirectory(ObstacleAwarePlatformUnit)
......
......@@ -34,6 +34,8 @@ armarx_add_library(
"${LIBS}"
)
target_compile_options("${LIB_NAME}" PRIVATE -Wno-error=array-bounds)
if(Eigen3_FOUND)
target_include_directories("${LIB_NAME}" SYSTEM PUBLIC ${Eigen3_INCLUDE_DIR} ${Eigen3_INCLUDE_DIRS})
endif()
......@@ -41,3 +43,4 @@ endif()
if(manif_FOUND)
target_include_directories("${LIB_NAME}" SYSTEM PUBLIC ${manif_INCLUDE_DIR} ${manif_INCLUDE_DIRS})
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment