C++23 enable in CMakeLists.txt

This commit is contained in:
2023-04-27 14:19:48 +02:00
parent 6091596881
commit 69f86aa4f2

View File

@ -26,6 +26,8 @@ idf_component_register(
${dependencies}
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
target_compile_options(${COMPONENT_TARGET}
PUBLIC
-DDISABLE_ALL_LIBRARY_WARNINGS