C++23 enable in CMakeLists.txt

This commit is contained in:
2023-04-27 14:25:15 +02:00
parent c9f273b51a
commit 5804af334c

View File

@@ -25,6 +25,8 @@ endif()
if(DEFINED IDF_TARGET)
idf_component_register(INCLUDE_DIRS include)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
set(RING_BUFFER_TARGET_NAME ${COMPONENT_TARGET})
else()
set(RING_BUFFER_TARGET_NAME ${COMPONENT_TARGET})