From e5eb822d448c8c34ad8d4d769a124887f196dd09 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Wed, 26 Jul 2023 01:02:37 +0200 Subject: [PATCH] Start using c++20 in examples. --- examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 330559f..dbea321 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -8,7 +8,7 @@ function(example name) target_link_libraries(ftxui_example_${name} PUBLIC ${DIRECTORY_LIB}) file(RELATIVE_PATH dir ${EXAMPLES_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) set_property(GLOBAL APPEND PROPERTY FTXUI::EXAMPLES ${dir}/${name}) - target_compile_features(ftxui_example_${name} PRIVATE cxx_std_17) + target_compile_features(ftxui_example_${name} PRIVATE cxx_std_20) endfunction(example) add_subdirectory(component)