diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake index df28387349483..cecbd895cd4f7 100644 --- a/sdk/cmake/gcc.cmake +++ b/sdk/cmake/gcc.cmake @@ -50,6 +50,7 @@ add_compile_options(-mlong-double-64) add_compile_options("$<$>:-nostdinc>") if(CMAKE_C_COMPILER_ID STREQUAL "GNU") + add_compile_options("-Wno-unknown-pragmas") add_compile_options(-fno-aggressive-loop-optimizations) if (DBG) add_compile_options("$<$:-Wold-style-declaration>")