From 27535ebf167b83b2d4bc07e9fed4b4bd1a49af6b Mon Sep 17 00:00:00 2001 From: Scavanger Date: Fri, 8 Nov 2024 10:06:23 -0300 Subject: [PATCH] Oops --- cmake/sitl.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/sitl.cmake b/cmake/sitl.cmake index 66e9844e449..9bbf9a5c2c9 100644 --- a/cmake/sitl.cmake +++ b/cmake/sitl.cmake @@ -62,7 +62,6 @@ if(NOT MACOSX) set(SITL_COMPILE_OPTIONS ${SITL_COMPILE_OPTIONS} -Wno-return-local-addr -Wno-error=maybe-uninitialized - -Wno-double-promotion -fsingle-precision-constant ) if (CMAKE_COMPILER_IS_GNUCC AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 12.0) @@ -70,6 +69,7 @@ if(NOT MACOSX) endif() else() set(SITL_COMPILE_OPTIONS ${SITL_COMPILE_OPTIONS} + -Wno-double-promotion ) endif()