diff --git a/cmake/sitl.cmake b/cmake/sitl.cmake index 9bbf9a5c2c9..1f377103246 100644 --- a/cmake/sitl.cmake +++ b/cmake/sitl.cmake @@ -69,7 +69,7 @@ if(NOT MACOSX) endif() else() set(SITL_COMPILE_OPTIONS ${SITL_COMPILE_OPTIONS} - -Wno-double-promotion + -Wno-error=double-promotion ) endif()