C++23 enable in CMakeLists.txt

This commit is contained in:
2023-04-27 14:29:26 +02:00
parent 538a1ff50a
commit 4d38eb6548

View File

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