C++23 enable in CMakeLists.txt

This commit is contained in:
Daniel Brunner
2023-04-27 14:26:47 +02:00
parent 4bbbffdf4c
commit 1658637448

View File

@ -1,5 +1,6 @@
if(DEFINED IDF_TARGET)
idf_component_register(INCLUDE_DIRS include)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23)
target_compile_definitions(${COMPONENT_TARGET} INTERFACE HAS_UNCAUGHT_EXCEPTIONS=1)
else()
add_library(date