Ivan Grokhotkov 2022-06-03 12:43:46 +02:00
parent 73989eb05b
commit 0a1e83c599
No known key found for this signature in database
GPG Key ID: 1E050E141B280628

View File

@ -117,9 +117,9 @@ function(__build_set_default_build_specifications)
# go into the final binary so have no impact on size
"-ggdb")
list(APPEND c_compile_options "-std=gnu99")
list(APPEND c_compile_options "-std=gnu17")
list(APPEND cxx_compile_options "-std=gnu++11")
list(APPEND cxx_compile_options "-std=gnu++20")
idf_build_set_property(COMPILE_DEFINITIONS "${compile_definitions}" APPEND)
idf_build_set_property(COMPILE_OPTIONS "${compile_options}" APPEND)