diff --git a/rviz_assimp_vendor/CMakeLists.txt b/rviz_assimp_vendor/CMakeLists.txt index 79525d6f6..caedf64e2 100644 --- a/rviz_assimp_vendor/CMakeLists.txt +++ b/rviz_assimp_vendor/CMakeLists.txt @@ -39,6 +39,7 @@ ament_vendor(assimp_vendor -DASSIMP_BUILD_ASSIMP_TOOLS:BOOL=OFF -DASSIMP_BUILD_TESTS:BOOL=OFF -DASSIMP_BUILD_SAMPLES:BOOL=OFF + -DASSIMP_WARNINGS_AS_ERRORS:BOOL=OFF "${ASSIMP_CMAKE_FLAGS}" "-DCMAKE_CXX_FLAGS=${ASSIMP_CXX_FLAGS}" )