diff --git a/bitbots_motion/bitbots_dynamic_kick/CMakeLists.txt b/bitbots_motion/bitbots_dynamic_kick/CMakeLists.txt index 2abd77f49..98717aa45 100644 --- a/bitbots_motion/bitbots_dynamic_kick/CMakeLists.txt +++ b/bitbots_motion/bitbots_dynamic_kick/CMakeLists.txt @@ -34,7 +34,7 @@ rosidl_generate_interfaces(${PROJECT_NAME} "msg/KickDebug.msg" DEPENDENCIES set(INCLUDE_DIRS include ${PYTHON_INCLUDE_DIRS}) include_directories(${INCLUDE_DIRS}) -add_compile_options(-Wall -Wno-unused) +add_compile_options(-Wall -Werror -Wno-unused) set(SOURCES src/kick_node.cpp src/kick_engine.cpp src/stabilizer.cpp src/visualizer.cpp src/kick_ik.cpp) diff --git a/bitbots_motion/bitbots_dynup/CMakeLists.txt b/bitbots_motion/bitbots_dynup/CMakeLists.txt index 86939496c..53ad50b19 100644 --- a/bitbots_motion/bitbots_dynup/CMakeLists.txt +++ b/bitbots_motion/bitbots_dynup/CMakeLists.txt @@ -59,7 +59,7 @@ rosidl_generate_interfaces( include_directories(include ${PYTHON_INCLUDE_DIRS}) -add_compile_options(-Wall -Wno-unused -fPIC) +add_compile_options(-Wall -Werror -Wno-unused -fPIC) set(SOURCES src/dynup_engine.cpp diff --git a/bitbots_motion/bitbots_quintic_walk/CMakeLists.txt b/bitbots_motion/bitbots_quintic_walk/CMakeLists.txt index eb0f003e7..84f4a707f 100644 --- a/bitbots_motion/bitbots_quintic_walk/CMakeLists.txt +++ b/bitbots_motion/bitbots_quintic_walk/CMakeLists.txt @@ -53,7 +53,7 @@ rosidl_generate_interfaces( include_directories(include ${PYTHON_INCLUDE_DIRS}) -add_compile_options(-Wall -Wno-unused -Wextra -Wpedantic) +add_compile_options(-Wall -Werror -Wno-unused -Wextra -Wpedantic) set(SOURCES src/walk_visualizer.cpp src/walk_engine.cpp src/walk_stabilizer.cpp src/walk_ik.cpp src/walk_node.cpp)