C++23 enable in CMakeLists.txt
This commit is contained in:
1 parent
4bbbffdf4c
commit
1658637448
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user