forked from HowardHinnant/date
C++23 enable in CMakeLists.txt
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
if(DEFINED IDF_TARGET)
|
if(DEFINED IDF_TARGET)
|
||||||
idf_component_register(INCLUDE_DIRS include)
|
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)
|
target_compile_definitions(${COMPONENT_TARGET} INTERFACE HAS_UNCAUGHT_EXCEPTIONS=1)
|
||||||
else()
|
else()
|
||||||
add_library(date
|
add_library(date
|
||||||
|
Reference in New Issue
Block a user