diff --git a/tools/cmake/build.cmake b/tools/cmake/build.cmake index 52c6b9bd0e..91205087cd 100644 --- a/tools/cmake/build.cmake +++ b/tools/cmake/build.cmake @@ -75,8 +75,8 @@ endfunction() # @param[in] new_option the option to replace with (if empty, the old option will be removed) # # Example usage: -# idf_build_replace_options_from_property(COMPILE_OPTIONS "-Werror" "-Werror=all") -# idf_build_replace_options_from_property(COMPILE_OPTIONS "-Wno-error=extra" "") +# idf_build_replace_option_from_property(COMPILE_OPTIONS "-Werror" "-Werror=all") +# idf_build_replace_option_from_property(COMPILE_OPTIONS "-Wno-error=extra" "") # function(idf_build_replace_option_from_property property_name option_to_remove new_option) idf_build_get_property(current_list_of_options ${property_name})