C++23 enable in CMakeLists.txt

This commit is contained in:
2023-04-27 14:28:58 +02:00
parent 3ca4171a13
commit 06ca1a6881

View File

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