C++23 enable in CMakeLists.txt

This commit is contained in:
2023-04-27 14:27:30 +02:00
parent 51bae4e7f3
commit 76041027df

View File

@ -122,6 +122,8 @@ idf_component_register(
${dependencies}
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
target_compile_options(${COMPONENT_TARGET}
PRIVATE
-fstack-reuse=all