File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,10 +282,9 @@ if (KFR_ARCH IN_LIST DETECT_NAMES AND NOT CMAKE_CROSSCOMPILING)
282282 ${CMAKE_CURRENT_SOURCE_DIR} /cmake/detect_cpu.cpp
283283 CMAKE_FLAGS
284284 "-DINCLUDE_DIRECTORIES=${CMAKE_CURRENT_SOURCE_DIR} /include"
285- -DCMAKE_CXX_STANDARD=17
285+ -DCMAKE_CXX_STANDARD=20
286286 -DCMAKE_CXX_STANDARD_REQUIRED=ON
287287 "-DCOMPILE_DEFINITIONS=-DCPU_${KFR_ARCH} =1"
288- -DCMAKE_CXX_EXTENSIONS=ON
289288 COMPILE_OUTPUT_VARIABLE COMPILE_OUT
290289 RUN_OUTPUT_VARIABLE RUN_OUT )
291290 if (COMPILE_RESULT AND RUN_RESULT EQUAL 0)
Original file line number Diff line number Diff line change 3333 compile_options :
3434 - " -DKFR_ENABLE_FLAC=1"
3535 - " -DKFR_FORCE_GENERIC_CPU=1"
36- - " -std=gnu++17 "
36+ - " -std=gnu++20 "
3737 - " -DDOCUMENTATION"
3838
3939repository : https://github.com/kfrlib/kfr/blob/{TAG}/include/kfr/{FILE}#L{LINE}
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ The KFR implementation of the FFT:
2929* has special implementations for FFT sizes up to 1024
3030* has no external dependencies
3131* is thread-safe, with no global data
32- * is written in modern C++17
32+ * is written in modern C++20
3333* is open source (GPL v2+ license, commercial license is availalble for closed source projects, see https://kfr.dev )
You can’t perform that action at this time.
0 commit comments